Click here to Skip to main content
16,006,766 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionASP:Dropdownlist And Firefox Pin
Ryan Fleming24-Mar-09 8:13
Ryan Fleming24-Mar-09 8:13 
AnswerRe: ASP:Dropdownlist And Firefox Pin
Christian Graus24-Mar-09 14:27
protectorChristian Graus24-Mar-09 14:27 
Question[Message Deleted] Pin
nerzhul8624-Mar-09 8:12
nerzhul8624-Mar-09 8:12 
AnswerRe: asp.net-how to traverse records Pin
Fayu24-Mar-09 10:28
Fayu24-Mar-09 10:28 
QuestionHow to add gridview to placeholder Pin
scjsb24-Mar-09 8:06
scjsb24-Mar-09 8:06 
AnswerRe: How to add gridview to placeholder Pin
Cybernate24-Mar-09 10:18
Cybernate24-Mar-09 10:18 
GeneralRe: How to add gridview to placeholder Pin
scjsb25-Mar-09 3:12
scjsb25-Mar-09 3:12 
QuestionStandard pattern for updating a tab in one click? Pin
alex3_1424-Mar-09 6:50
alex3_1424-Mar-09 6:50 
OK, I'm fairly green with ASP.net and I keep running into the same problem and I've solved it in various ways but none to my satisfaction.

What I want:
- To be able to click on a button/link or choose an option from a dropdownlist and have a tab be updated immediately with data supplied by the event set off by the button/link/dropdown.

What I can do so far:
- First click updates the tab and *then* sets the necessary variables that my tab needs to update properly. A second click re-updates the tab correctly.

So, I use the OnClick event (or similar) of the button to set Session variables (values of which may come from a db) that the tab's OnLoad event needs to load itself properly. Unfortunately, the OnLoad of the tab happens before the OnClick of the button.

Question:
- What is the standard, non-javascript, way of making a C# function happen before the button engages the OnLoad event? Preferably I'd like the OnLoad to only happen once, but if the only way is for the thing to be set off twice, I can live with that. Smile | :)

Alex

AnswerRe: Standard pattern for updating a tab in one click? Pin
fred_24-Mar-09 9:51
fred_24-Mar-09 9:51 
QuestionRe: Standard pattern for updating a tab in one click? Pin
alex3_1424-Mar-09 22:22
alex3_1424-Mar-09 22:22 
AnswerRe: Standard pattern for updating a tab in one click? [modified] Pin
fred_25-Mar-09 2:51
fred_25-Mar-09 2:51 
QuestionRe: Standard pattern for updating a tab in one click? Pin
alex3_1425-Mar-09 3:52
alex3_1425-Mar-09 3:52 
GeneralRe: Standard pattern for updating a tab in one click? Pin
fred_25-Mar-09 3:57
fred_25-Mar-09 3:57 
GeneralRe: Standard pattern for updating a tab in one click? Pin
alex3_1425-Mar-09 4:35
alex3_1425-Mar-09 4:35 
QuestionTextChange Event on a collection of textboxes [modified] Pin
Ragonastick24-Mar-09 5:46
Ragonastick24-Mar-09 5:46 
AnswerRe: TextChange Event on a collection of textboxes Pin
Milind R Chavan24-Mar-09 6:11
Milind R Chavan24-Mar-09 6:11 
AnswerRe: TextChange Event on a collection of textboxes Pin
jokerkachotabhai24-Mar-09 9:12
jokerkachotabhai24-Mar-09 9:12 
QuestionPopulate dynamic data on mouse hover Pin
nainakarri24-Mar-09 5:42
nainakarri24-Mar-09 5:42 
AnswerRe: Populate dynamic data on mouse hover Pin
Milind R Chavan24-Mar-09 6:20
Milind R Chavan24-Mar-09 6:20 
GeneralRe: Populate dynamic data on mouse hover Pin
nainakarri24-Mar-09 6:42
nainakarri24-Mar-09 6:42 
AnswerRe: Populate dynamic data on mouse hover Pin
Milind R Chavan24-Mar-09 7:01
Milind R Chavan24-Mar-09 7:01 
QuestionMailbox unavailable exception plz help!!! Pin
jokerkachotabhai24-Mar-09 5:13
jokerkachotabhai24-Mar-09 5:13 
AnswerRe: Mailbox unavailable exception plz help!!! Pin
vinodkrebc25-Mar-09 0:26
vinodkrebc25-Mar-09 0:26 
Questionhow to enable AutoGenerateDeleteButton on only specific rows of a gridview depending on the value of data key in C# Pin
jokerkachotabhai24-Mar-09 5:05
jokerkachotabhai24-Mar-09 5:05 
AnswerRe: how to enable AutoGenerateDeleteButton on only specific rows of a gridview depending on the value of data key in C# Pin
nainakarri24-Mar-09 6:08
nainakarri24-Mar-09 6:08 

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.