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

ASP.NET

 
AnswerRe: Custom Validation Sumamry Message Pin
Dinesh Mani16-Dec-09 18:53
Dinesh Mani16-Dec-09 18:53 
Questionuse in asp.net 2 an unmanaged dll from .asp pages that expects an open ADODB connection Pin
fozzybear5516-Dec-09 16:07
fozzybear5516-Dec-09 16:07 
QuestionHow to make GridView accessible Pin
Tina P16-Dec-09 15:42
Tina P16-Dec-09 15:42 
QuestionGridview selected row issue Pin
Priya Prk16-Dec-09 5:07
Priya Prk16-Dec-09 5:07 
AnswerRe: Gridview selected row issue Pin
dan!sh 16-Dec-09 6:30
professional dan!sh 16-Dec-09 6:30 
GeneralRe: Gridview selected row issue Pin
Priya Prk16-Dec-09 22:35
Priya Prk16-Dec-09 22:35 
AnswerRe: Gridview selected row issue Pin
ESTAN16-Dec-09 11:55
ESTAN16-Dec-09 11:55 
QuestionAsp.net 2.0: ListControl Vs WebControl when (Page.IsCallback == True) Pin
kadaoui el mehdi16-Dec-09 4:05
kadaoui el mehdi16-Dec-09 4:05 
Hi,
In Asp.net 2.0 :

- you can catch asynch Event on implementing ICallBackEvent Handler.
- the Event LoadViewState is raised after a POSTPACK

So if you create 2 Custom web controls ( "WC1" and "WC2"):

-WC1: inherits from "WebControl" and implements " ICallBackEvent Handler"

-WC2: inherits from "ListControl" and implements " ICallBackEvent Handler"

-override the LoadViewstate in the 2 controls and put a breakpoints.

On the click event of WC1, you call a Javascript Method that send a Callback to the Server

exemple:
<wc1:Webcontrol1 Id="Webcontrol1" onclick="javascript:_doCallback(..)" ..>


Normally When you click on WC1, the LoadViewState event will be not raised because is not a POSTBACK event, BUT strangelly in the WC2 the LoadViewState method is raised!

So the conclusion is, All controls that inherits from "ListControl" raise the LoadViewState method evenif there is no postback!

WHY ?
QuestionStrongly typed dataset - need help. Pin
Slow Learner16-Dec-09 2:26
Slow Learner16-Dec-09 2:26 
QuestionSession Pin
Rock Star.16-Dec-09 1:00
Rock Star.16-Dec-09 1:00 
AnswerRe: Session Pin
souidi abderrahman16-Dec-09 1:11
souidi abderrahman16-Dec-09 1:11 
GeneralRe: Session Pin
Rock Star.16-Dec-09 1:15
Rock Star.16-Dec-09 1:15 
AnswerRe: Session Pin
m-khansari16-Dec-09 1:25
m-khansari16-Dec-09 1:25 
GeneralRe: Session Pin
Rock Star.16-Dec-09 1:34
Rock Star.16-Dec-09 1:34 
GeneralRe: Session Pin
m-khansari16-Dec-09 2:30
m-khansari16-Dec-09 2:30 
AnswerRe: Session Pin
Abhishek Sur16-Dec-09 1:35
professionalAbhishek Sur16-Dec-09 1:35 
GeneralRe: Session Pin
Rock Star.16-Dec-09 2:12
Rock Star.16-Dec-09 2:12 
GeneralRe: Session Pin
Abhishek Sur16-Dec-09 6:03
professionalAbhishek Sur16-Dec-09 6:03 
AnswerRe: Session Pin
DJ Matthews16-Dec-09 2:30
DJ Matthews16-Dec-09 2:30 
GeneralRe: Session Pin
Paulo Zemek16-Dec-09 9:29
Paulo Zemek16-Dec-09 9:29 
GeneralRe: Session Pin
Rock Star.17-Dec-09 3:35
Rock Star.17-Dec-09 3:35 
GeneralRe: Session Pin
Rock Star.18-Dec-09 4:47
Rock Star.18-Dec-09 4:47 
GeneralRe: Session Pin
Paulo Zemek18-Dec-09 10:11
Paulo Zemek18-Dec-09 10:11 
GeneralRe: Session Pin
Rock Star.20-Dec-09 20:41
Rock Star.20-Dec-09 20:41 
Questionsuggest word when typed on Textbox Pin
Any_India16-Dec-09 0:55
Any_India16-Dec-09 0:55 

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.