Click here to Skip to main content
13,151,940 members (46,217 online)
   

ASP.NET

 
AnswerRe: Execute javascript before page_Load Pin
jkirkerx10-Nov-12 19:55
memberjkirkerx10-Nov-12 19:55 
QuestionRe: Execute javascript before page_Load Pin
jojoba201110-Nov-12 20:04
memberjojoba201110-Nov-12 20:04 
AnswerRe: Execute javascript before page_Load Pin
xut244714-Nov-12 20:20
memberxut244714-Nov-12 20:20 
AnswerRe: Execute javascript before page_Load Pin
jkirkerx10-Nov-12 20:12
memberjkirkerx10-Nov-12 20:12 
QuestionRe: Execute javascript before page_Load Pin
jojoba201110-Nov-12 20:21
memberjojoba201110-Nov-12 20:21 
AnswerRe: Execute javascript before page_Load Pin
jkirkerx11-Nov-12 12:08
memberjkirkerx11-Nov-12 12:08 
QuestionRe: Execute javascript before page_Load Pin
jojoba201111-Nov-12 17:24
memberjojoba201111-Nov-12 17:24 
AnswerRe: Execute javascript before page_Load Pin
jkirkerx11-Nov-12 18:28
memberjkirkerx11-Nov-12 18:28 
Well if your starting a new page, or redirecting, send a query string over to the page

details.aspx?q=datastring&output=datasource5

Change the words to what you need,

Then make sure the values exist, check the values against fraud, and load the page.
on Page.Init, select the proper gridview, on page.load, load the right datasource

So you can have like 5 gridviews, 1 in each div tag, and just make the div you need visible.

Ok, 5 datasources, choose the correct datasource based on output=datasource1

now i assumed your doing this in code behind, you need to use code behind to select the data source.

That's how I would do it. If it's a new page, you don't need to use javascript, unless you want it on the same page.

I'm done for tonight
QuestionLogin control doesn authenticate user after closing/changing database Pin
pier198910-Nov-12 10:02
memberpier198910-Nov-12 10:02 
AnswerRe: Login control doesn authenticate user after closing/changing database Pin
jkirkerx10-Nov-12 20:04
memberjkirkerx10-Nov-12 20:04 
GeneralRe: Login control doesn authenticate user after closing/changing database Pin
pier198910-Nov-12 22:11
memberpier198910-Nov-12 22:11 
GeneralRe: Login control doesn authenticate user after closing/changing database Pin
jkirkerx11-Nov-12 11:32
memberjkirkerx11-Nov-12 11:32 
GeneralRe: Login control doesn authenticate user after closing/changing database Pin
thes@int13-Nov-12 2:14
memberthes@int13-Nov-12 2:14 
GeneralRe: Login control doesn authenticate user after closing/changing database Pin
jkirkerx13-Nov-12 6:57
memberjkirkerx13-Nov-12 6:57 
QuestionProblem with MapPageRoute Pin
jrahma9-Nov-12 8:50
memberjrahma9-Nov-12 8:50 
AnswerRe: Problem with MapPageRoute Pin
Marcus Kramer9-Nov-12 9:46
memberMarcus Kramer9-Nov-12 9:46 
GeneralRe: Problem with MapPageRoute Pin
jrahma9-Nov-12 9:50
memberjrahma9-Nov-12 9:50 
Question{36D27C48-A1E8-11D3-BA55-00C04F72F325} failed due to the following error: 80010001 Call was rejected by callee. Pin
Member 95859818-Nov-12 23:55
memberMember 95859818-Nov-12 23:55 
AnswerRe: {36D27C48-A1E8-11D3-BA55-00C04F72F325} failed due to the following error: 80010001 Call was rejected by callee. Pin
jkirkerx10-Nov-12 20:09
memberjkirkerx10-Nov-12 20:09 
Questionlarger file uploading issue Pin
silentspeaker8-Nov-12 3:17
membersilentspeaker8-Nov-12 3:17 
QuestionUnable to cast object of type 'System.Web.HttpInputStream' to type 'System.IO.FileStream' Pin
silentspeaker8-Nov-12 1:55
membersilentspeaker8-Nov-12 1:55 
AnswerRe: Unable to cast object of type 'System.Web.HttpInputStream' to type 'System.IO.FileStream' Pin
Richard Deeming8-Nov-12 2:26
memberRichard Deeming8-Nov-12 2:26 
GeneralRe: Unable to cast object of type 'System.Web.HttpInputStream' to type 'System.IO.FileStream' Pin
silentspeaker8-Nov-12 2:34
membersilentspeaker8-Nov-12 2:34 
GeneralRe: Unable to cast object of type 'System.Web.HttpInputStream' to type 'System.IO.FileStream' Pin
Richard Deeming8-Nov-12 2:44
memberRichard Deeming8-Nov-12 2:44 
QuestionWCF Pin
sandeep81467-Nov-12 22:42
membersandeep81467-Nov-12 22:42 

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.


Advertise | Privacy |
Web01 | 2.8.170924.2 | Last Updated 25 Sep 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid