Click here to Skip to main content
15,888,454 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionMaking and saving changes on the Excel file online Pin
khuzwayom18-Feb-08 20:40
khuzwayom18-Feb-08 20:40 
GeneralRe: Making and saving changes on the Excel file online Pin
Christian Graus18-Feb-08 22:05
protectorChristian Graus18-Feb-08 22:05 
GeneralRe: Making and saving changes on the Excel file online Pin
khuzwayom18-Feb-08 22:11
khuzwayom18-Feb-08 22:11 
Questionhow to remove null row from data table Pin
mohd imran abdul aziz18-Feb-08 20:32
mohd imran abdul aziz18-Feb-08 20:32 
GeneralGridView Height Issue Pin
Brady Kelly18-Feb-08 20:28
Brady Kelly18-Feb-08 20:28 
GeneralCheckbox in webpage not functioning Pin
codingrocks18-Feb-08 20:12
codingrocks18-Feb-08 20:12 
GeneralRe: Checkbox in webpage not functioning Pin
N a v a n e e t h18-Feb-08 20:19
N a v a n e e t h18-Feb-08 20:19 
GeneralRe: Checkbox in webpage not functioning Pin
codingrocks18-Feb-08 20:33
codingrocks18-Feb-08 20:33 
GeneralImage Pin
VanithaVasu18-Feb-08 20:05
VanithaVasu18-Feb-08 20:05 
GeneralRe: Image Pin
N a v a n e e t h18-Feb-08 20:11
N a v a n e e t h18-Feb-08 20:11 
GeneralRe: Image Pin
VanithaVasu18-Feb-08 20:41
VanithaVasu18-Feb-08 20:41 
GeneralRe: Image Pin
Malcolm Smart18-Feb-08 21:21
Malcolm Smart18-Feb-08 21:21 
GeneralVb.Net Exe To Vb.net Code Pin
Hariharan18-Feb-08 20:03
Hariharan18-Feb-08 20:03 
GeneralRe: Vb.Net Exe To Vb.net Code Pin
N a v a n e e t h18-Feb-08 20:09
N a v a n e e t h18-Feb-08 20:09 
GeneralRe: Vb.Net Exe To Vb.net Code Pin
Christian Graus18-Feb-08 22:07
protectorChristian Graus18-Feb-08 22:07 
GeneralDisplay only Header and Footer of a gridview Pin
bippi18-Feb-08 19:15
bippi18-Feb-08 19:15 
GeneralRe: Display only Header and Footer of a gridview Pin
Venkatesh Mookkan18-Feb-08 20:37
Venkatesh Mookkan18-Feb-08 20:37 
QuestionHow to Create ContentTemplate in Code-behind Files? Pin
pekhaleyogesh18-Feb-08 19:01
pekhaleyogesh18-Feb-08 19:01 
QuestionHow to get ViewState Value on Page_PreLoad Pin
$unil Dhiman18-Feb-08 18:56
$unil Dhiman18-Feb-08 18:56 
Hi All
I open a popup page by clicking on a hyper link in gridview. On this popup , there is are somevalues filled by user and there is SAVE button to save. when user click this SAVE button the content saved in database and the popup closed. its doing well.
when I click on SAVE button there is some code on Page_PreLoad to identify the reason of postback, if SAVE button is being clicked, then all data saved into databse.
code on Page_PreLoad :-
string strButtonID = Request.Form["__EVENTTARGET"];
if (strButtonID == "Button1")
{
Save();
}
but problem is that this fuction being called two time because when I clicked on SAVE button page postback twice.
I also try to check using ViewState. but i am unable to get the value os ViewState in Page_PreLoad.
is there any way to find that this "Save()" function has been executed already.

can anybody help me ASAP.
thanks.
AnswerRe: How to get ViewState Value on Page_PreLoad Pin
N a v a n e e t h18-Feb-08 19:11
N a v a n e e t h18-Feb-08 19:11 
GeneralRe: How to get ViewState Value on Page_PreLoad Pin
$unil Dhiman18-Feb-08 19:57
$unil Dhiman18-Feb-08 19:57 
GeneralRe: How to get ViewState Value on Page_PreLoad Pin
N a v a n e e t h18-Feb-08 20:07
N a v a n e e t h18-Feb-08 20:07 
AnswerRe: How to get ViewState Value on Page_PreLoad Pin
Christian Graus18-Feb-08 22:08
protectorChristian Graus18-Feb-08 22:08 
GeneralHelp retaining textbox values Pin
NetBot18-Feb-08 18:53
NetBot18-Feb-08 18:53 
GeneralRe: Help retaining textbox values Pin
Venkatesh Mookkan18-Feb-08 20:48
Venkatesh Mookkan18-Feb-08 20:48 

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.