Search

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

Matching Posts

  • Re: Submit button doesn't fire when using a ValidationGroup

    VeganMan , please palce the following code snippet on brand new page and see how it is working: <form id="form1" runat="server"> <div> <asp:Button runat="server" ID="MyButton" Text="Sumbit the form" ValidationGroup="MyGroup" OnClick="MyButton_Click"/> <asp:TextBox runat="server" ID="MyTextBox" ValidationGroup="MyGroup"></asp:TextBox> <asp:RequiredFieldValidator runat
    Posted to Web Forms (Forum) by net.ninjutsu on 7/2/2009
  • Re: AJAX Clock Refreshing DropDownList

    ddelella, try setting UpdateMode="Conditional" of your UpdatePanel. By default the update mode of any UpdatePanel is Always which means that all the page content will be refreshed(asynch of course) and that is causing your DropDownList controls to close. If you use Conditioanal UpadateMode only the snippet in the code placed inside ContentTemplate of UpdatePanel will be update after ajax call. Give it a try it should fix the behaviour, Cheers!
    Posted to ASP.NET AJAX UI (Forum) by net.ninjutsu on 7/2/2009
  • Re: Async Postback Causing Page to Shift

    Code snippet bellow is from UpdatePanel.RenderChildren method: if (this.RenderMode == UpdatePanelRenderMode.Block) { writer.RenderBeginTag(HtmlTextWriterTag.Div); } else { writer.RenderBeginTag(HtmlTextWriterTag.Span); } base.RenderChildren(writer); This should clear all your concerns :-)
    Posted to ASP.NET AJAX UI (Forum) by net.ninjutsu on 7/2/2009
  • Re: ModalPopupExtender

    saurabh.15in what strlarmon suggested you should help. Generally Control.Focus will cause when page renders register script that will fire <your control client id>.focus() script. However when using ajax this script will be executed beofre $create's of any IScriptControl is evaluated, thus your control which lives inside the popup is not yet created and <your control client id>.focus() does nothing. ScriptManager method does essentially same thing except that this will be executed
    Posted to ASP.NET AJAX UI (Forum) by net.ninjutsu on 7/2/2009
  • Re: nested table in repeater; bottom-border:none; situation..

    dtx_21 place runat="server" attribute on that table and try again. Your table should be server control to find it with FindControl.
  • Re: margin-top doesn't work on asp:label

    martin-top/bottom on inline elements does not apply. Label server control render itself in most cases as span tag i.e. inline element. Further information might be found on the CSS specification.
  • Re: how to format gridview field on the fly.

    jagjot, RowDataBound event is part ot GridView life cycle, this means that it will be triggered whenever current row is bound(populated with data) regardless creation technique.
  • Re: Consuming Web service from .net 3.5 web application using ajax

    Consuming web service in .net 3.5 framework is quite similar to .net 2.0. There is generally one difference between WebSite and WebProject type solutions. WebProject classes must be placed into namespaces. Thus wehn you request the service from client you must use the following convension <namespace>.<serviceName>.<method>. You should also register the service in ScriptManager.Services collection. ScriptManager will create client-side proxy for you so you can call the service in
  • Re: margin-top doesn't work on asp:label

    You can set "display:block" to your label(inline element will be converted to block element), then all block element's rules will be applied to the label.
  • Re: Submit button doesn't fire when using a ValidationGroup

    VeganMan, if I understand you correct you have next scenario: submit button with ValidationGroup="mailVal", RequiredFieldValidator with same group that validates TextBox control. Whenever the button Sumbit is clicked validation on client will be triggered and if none of the validators in the group fail, page will postback and server event of your button will raised. Client-side validataion of any validation control is turned on by default. Mybe this could be the reason for not fireing that
    Posted to Web Forms (Forum) by net.ninjutsu on 7/1/2009
Page 1 of 2 (11 items) 1 2 Next >