Search

You searched for the word(s): userid:837992

Matching Posts

  • Re: Automatically generated Inline style in Validation Controls

    Thanks for the reply. I know about the !important declaration but it doesn’t really answer my question. I'd like to understand why the inline style is generated differently on my local machine? Is it the IIS version? Why does this happen? I'd like to avoid using the !important declaration (thinking about browser support etc), and I will not take away the "visibility:hidden" style (I know I can set the display property of the validation control to dynamic). The problem is that I
    Posted to Custom Server Controls (Forum) by pedlin on 7/1/2009
  • Automatically generated Inline style in Validation Controls

    I have a problem with my validation controls getting the auto-generated inline style "color" and "visibility", and thereby ignoring my linked in CSS. I've read about setting the ForeColor="" and the Display=Dynamic, but my biggest problem is that the controls only get this inline setting in our production environment...not in my local machine. Our production system uses IIS 6.0 but my local machine uses IIS 7.0. Could this be the issue? And how do I solve it? When
    Posted to Custom Server Controls (Forum) by pedlin on 6/25/2009
  • Re: Problems with DefaultButton property in Usercontrol form

    Finally! It worked with a panel outside the form in my userControl: myPanel.DefaultButton = btnGo.ID Thanx for the help, I'm so happy!
    Posted to Custom Server Controls (Forum) by pedlin on 12/3/2008
  • Re: Problems with DefaultButton property in Usercontrol form

    But the DefaultFocus is what I already got. I want the button to be the default button when the enter key is hit. Now it seems like the button I specify in the DefaultButton gets the focus when I load the page, but it is not the default button. I will try with a panel, like suggested above.
    Posted to Custom Server Controls (Forum) by pedlin on 12/3/2008
  • Re: Problems with DefaultButton property in Usercontrol form

    Thanks for the answer, but I still don't get it to work. When I load the page, the button now has the focus, but if I go to one of my text boxes on the page and then hit the Enter key, the btnGo is not clicked. The source code has now added the script: <script type="text/javascript"> //<![CDATA[ WebForm_AutoFocus('ctl00_BodyContentPlaceHolder_myUserControl_btnGo');//]]> </script> This is the same kind of script I get if I set the DefaultFocus property of the
    Posted to Custom Server Controls (Forum) by pedlin on 12/2/2008
  • Problems with DefaultButton property in Usercontrol form

    I have a Usercontrol with a form property "Defaultbutton=btnGo" which is the second button in my form. I can'nt get this to work - my first button in the form is the one that acts as the default button on the page. In the source code of the page I see that there has been added a javascript: < script type = "text/javascript" > //<![CDATA[ WebForm_AutoFocus('btnGo');//]]> </ script > - since this is a usercontrol, the button is beeing named with the
    Posted to Custom Server Controls (Forum) by pedlin on 11/27/2008
Page 1 of 1 (6 items)