Author: mayas1985 | Posted on: 5/3/2010 11:24:07 AM | Views : 437

i have one user control which has hiddenField name ='hdnShow' as runat='server'
my scenario is that i have a function in userControl name Show(MessageType); 
void Show(MessageType msg)
{
switch(msg)
        {
            case MessageType.Success:hdnShow.Value= "Success fully saved";
                break;
            case MessageType.Fail: hdnShow.Value= "Failed";
                break;

            case MessageType.Update: hdnShow.Value = "Success fully updated";
          &n ...

Go to the complete details ...