Click here to Skip to main content
15,914,396 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: DotNet Application Pin
Pete O'Hanlon11-Dec-07 11:09
mvePete O'Hanlon11-Dec-07 11:09 
GeneralRe: DotNet Application Pin
YeHtut11-Dec-07 16:17
YeHtut11-Dec-07 16:17 
GeneralRe: DotNet Application Pin
Michael Sync11-Dec-07 17:10
Michael Sync11-Dec-07 17:10 
Generaliunno Pin
jer marshall11-Dec-07 8:24
jer marshall11-Dec-07 8:24 
GeneralRe: iunno Pin
Pete O'Hanlon11-Dec-07 11:06
mvePete O'Hanlon11-Dec-07 11:06 
GeneralRe: iunno Pin
Christian Graus11-Dec-07 13:30
protectorChristian Graus11-Dec-07 13:30 
GeneralRe: iunno Pin
Pete O'Hanlon11-Dec-07 21:55
mvePete O'Hanlon11-Dec-07 21:55 
QuestionGridView on MultiView / View with MenuItems to change Views - the problem Pin
Member 470022511-Dec-07 8:01
Member 470022511-Dec-07 8:01 
"I am using MultiView / View controls which change by MenuItem clicks. Each view has a GridView on it with Edit and Insert features bound with <b>SqlDataSources</b>
The problem is: when the edit button is clicked, the GridView disappears and you need to click on the MenuItem again to see it (it happens evrytime you click edit, update, cancel or insert buttons on the GridView)."
Solution Suggested:
In Page_load -
if (!Page.IsPostBack){
//Getting the data from database
//Bind the data to Gridview
// Add this datasource to cache or session (e.g. Cache["mydata"]= dsProject.Table[0]; )
}
else{
//Re-bind the gridview with datasource from cache. (e.g. GridView1.DataSource = (DataTable)Cache["mydata"]
}
<u>To Michael Sync:</u> Hi Michael - the problem is Im using SqlDataSources with the GridViews not DataSets. If I want to change them - it will be lot of changes. Any other suggestions?

Thanks.

Ekjon
GeneralRe: GridView on MultiView / View with MenuItems to change Views - the problem Pin
Michael Sync11-Dec-07 16:33
Michael Sync11-Dec-07 16:33 
AnswerRe: GridView on MultiView / View with MenuItems to change Views - the problem Pin
Member 470022511-Dec-07 19:36
Member 470022511-Dec-07 19:36 
QuestionHow to use a datagrid in a user control Pin
mastoj11-Dec-07 5:44
mastoj11-Dec-07 5:44 
GeneralRe: How to use a datagrid in a user control Pin
Michael Sync11-Dec-07 16:46
Michael Sync11-Dec-07 16:46 
GeneralRe: How to use a datagrid in a user control Pin
mastoj11-Dec-07 19:23
mastoj11-Dec-07 19:23 
GeneralRe: How to use a datagrid in a user control Pin
Michael Sync11-Dec-07 19:42
Michael Sync11-Dec-07 19:42 
GeneralRe: How to use a datagrid in a user control Pin
mastoj11-Dec-07 20:00
mastoj11-Dec-07 20:00 
GeneralRe: How to use a datagrid in a user control Pin
Michael Sync11-Dec-07 20:09
Michael Sync11-Dec-07 20:09 
QuestionLinkbutton Accesskey Pin
vincyjinoy11-Dec-07 4:54
vincyjinoy11-Dec-07 4:54 
GeneralRe: Linkbutton Accesskey Pin
Michael Sync11-Dec-07 16:42
Michael Sync11-Dec-07 16:42 
GeneralInternet Explorer needs to resend the information you've previously submitted Pin
samerh11-Dec-07 3:32
samerh11-Dec-07 3:32 
GeneralRe: Internet Explorer needs to resend the information you've previously submitted Pin
Michael Sync11-Dec-07 16:52
Michael Sync11-Dec-07 16:52 
GeneralRe: Internet Explorer needs to resend the information you've previously submitted Pin
samerh11-Dec-07 19:04
samerh11-Dec-07 19:04 
GeneralRe: Internet Explorer needs to resend the information you've previously submitted Pin
Michael Sync11-Dec-07 19:50
Michael Sync11-Dec-07 19:50 
GeneralRe: Internet Explorer needs to resend the information you've previously submitted Pin
samerh11-Dec-07 20:05
samerh11-Dec-07 20:05 
QuestionHow To Call C# Function From JavaScript Pin
mrgaddam11-Dec-07 3:13
mrgaddam11-Dec-07 3:13 
AnswerRe: How To Call C# Function From JavaScript Pin
RichardGrimmer11-Dec-07 5:17
RichardGrimmer11-Dec-07 5:17 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.