Click here to Skip to main content
15,902,938 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionPassing Array to javascript function from asp.net aspx.cs Pin
amarnath n.n9-Aug-09 0:28
amarnath n.n9-Aug-09 0:28 
AnswerRe: Passing Array to javascript function from asp.net aspx.cs Pin
Abhijit Jana9-Aug-09 0:40
professionalAbhijit Jana9-Aug-09 0:40 
Questionretrieving text from datalist Pin
Ersan Ercek8-Aug-09 10:13
Ersan Ercek8-Aug-09 10:13 
AnswerRe: retrieving text from datalist Pin
Abhijit Jana8-Aug-09 10:46
professionalAbhijit Jana8-Aug-09 10:46 
GeneralRe: retrieving text from datalist Pin
Ersan Ercek8-Aug-09 10:51
Ersan Ercek8-Aug-09 10:51 
GeneralRe: retrieving text from datalist Pin
Not Active8-Aug-09 11:07
mentorNot Active8-Aug-09 11:07 
QuestionDynamic Links Pin
Ersan Ercek8-Aug-09 7:59
Ersan Ercek8-Aug-09 7:59 
AnswerRe: Dynamic Links Pin
Venkatesh Mookkan9-Aug-09 16:44
Venkatesh Mookkan9-Aug-09 16:44 
My answer may/may not be dirty, but that would work.

1. Place a Server-Side HiddenField in the *.aspx file.
2. Handle the OnClientClick event (JavaScript) of the Button.
3. OnClientClick you have to set the page number or whatever data you want into the HiddenField.
4. After the OnClientClick event, Button's Click process will start.
5. Now in your Page_PreInit get the values of the HiddenField and continue your routine process.
6. Here you can get rid of Session object.

Let me know if you have questions. Please mark it as answer if it helps you.


Castle Rider
What if I freeze??? Don't forget to breath...

My: Website | Yahoo Group | Blog Spot

GeneralRe: Dynamic Links Pin
Ersan Ercek9-Aug-09 22:20
Ersan Ercek9-Aug-09 22:20 
QuestionChanging TemplateField's order Pin
comp_j8-Aug-09 7:03
comp_j8-Aug-09 7:03 
AnswerRe: Changing TemplateField's order Pin
Abhijit Jana8-Aug-09 8:45
professionalAbhijit Jana8-Aug-09 8:45 
QuestionImage reading problem Pin
rk267928-Aug-09 6:23
rk267928-Aug-09 6:23 
AnswerIgnore Repost Pin
Manas Bhardwaj8-Aug-09 6:29
professionalManas Bhardwaj8-Aug-09 6:29 
AnswerRe: Image reading problem Pin
Abhijit Jana8-Aug-09 8:46
professionalAbhijit Jana8-Aug-09 8:46 
GeneralRe: Image reading problem Pin
rk267929-Aug-09 2:48
rk267929-Aug-09 2:48 
QuestionTo Display news in datewise for every day there will be news only one time the date should come ( in datagrid or repeater) Pin
nandaranipet8-Aug-09 1:14
nandaranipet8-Aug-09 1:14 
AnswerRe: To Display news in datewise for every day there will be news only one time the date should come ( in datagrid or repeater) Pin
Abhijit Jana8-Aug-09 2:26
professionalAbhijit Jana8-Aug-09 2:26 
AnswerRe: To Display news in datewise for every day there will be news only one time the date should come ( in datagrid or repeater) Pin
Muhammad Mazhar8-Aug-09 3:34
Muhammad Mazhar8-Aug-09 3:34 
AnswerRe: To Display news in datewise for every day there will be news only one time the date should come ( in datagrid or repeater) Pin
Arindam Sinha8-Aug-09 5:34
Arindam Sinha8-Aug-09 5:34 
AnswerRe: To Display news in datewise for every day there will be news only one time the date should come ( in datagrid or repeater) Pin
Abhishek Sur8-Aug-09 8:11
professionalAbhishek Sur8-Aug-09 8:11 
QuestionImage reading problem Pin
rk267928-Aug-09 0:05
rk267928-Aug-09 0:05 
AnswerRe: Image reading problem Pin
Abhijit Jana8-Aug-09 2:24
professionalAbhijit Jana8-Aug-09 2:24 
Questionaja slide show [modified] Pin
4anusha47-Aug-09 23:55
4anusha47-Aug-09 23:55 
AnswerRe: aja slide show Pin
Abhijit Jana8-Aug-09 2:11
professionalAbhijit Jana8-Aug-09 2:11 
AnswerRe: aja slide show Pin
4anusha48-Aug-09 2:12
4anusha48-Aug-09 2:12 

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.