FAQ Database Discussion Community

Why is this jQuery running — but not working — on my page, although it works in jsfiddle?

I want to restrict the entries in a text element to numeric only. I found some code for that that works in the jsfiddle, which is referenced from here ...but on my page (Webpart) / *.ascx file, it does not. I see the alert every time I mash a key,...

Get selected values of all RadioButtonLists inside a ListView

I have a ListView to create several RadioButtonList, then I want to get the selected values from each RadioButtonList after a button click. <asp:ListView ID="lvForm" runat="server"> <ItemTemplate> <li> <asp:Label runat="server" Text='<%# Eval("Texto") %>' /> <br /> <asp:RadioButtonList runat="server"> <asp:ListItem Text="<%$ Resources:liSim.Text %>" Value="<%$ Resources:liSim.Text %>" /> <asp:ListItem Text="<%$ Resources:liNao.Text %>"...

How to get client id devexpress control in ascx

I have a control stored in ascx file. In this control used 2 devexpress controls ASPxTextBox and ASPxGridView. How can I get client side Id ASPxGridView in ClientSideEvent from ASPxTextBox? I can't use ClientInstanceName because my control used on page many times.

Simple Javascript function is not working on .ascx file

I am trying to make a simple javascript function work in the .ascx file in my asp.net and vb.net application. I have included the following html code inside the asp panel tag. <div class="inline" > <asp:CheckBox ID="tick" runat="server" Text="Please tick the box to confirm the above information are correct" Checked="false"...

The text inside the button jerks or moves down by few pixels. <div> <asp:Button runat="server" ID="Button1" CssClass="ButtonClass" Text="" runat="server" /> </div> ascx.cs: Button1.Text = LocalizationResourceManager.GetLocalizedValue("Button_Text"); CSS: .ButtonClass{ background: url('/Button.png') no-repeat scroll 0 0 transparent; cursor: pointer; font-weight: bold; font-size: 14px; height: 33px; padding-bottom: 7px; padding-right: 19px; width: 180px; border: solid...

How can I debug my code in DNN 7 using breakpoint

I have applied some breakpoints into my Visual Studio Code and use Dot Net Nuke 7. Now I want to debug my code .So how can i debug it. As I have created one controller page and create a page in DNN and trying to access that control as a...