All Questions
Tagged with jquery-selectors asp.net
62
questions
0
votes
1
answer
2k
views
jQuery selector for checkbox inside <span> with CSS class name
I am trying to setup a single checkbox that will toggle on/off all the checkboxes in an ASP.NET GridView. I am looking to do all of this client-side. No need to PostBack. I figured I could use jQuery ...
2
votes
1
answer
109
views
Asp.net Fileupload img preview
I' have 5 fileupload control in a form. I want to preview selected img.
I can do it for one fileupload but for 5 control I had to change function like below
<div ><asp:FileUpload ID="...
2
votes
1
answer
29
views
Select .net control by string containing in jquery
I am working in asp.net and I have two imagebuttons like this:
<asp:ImageButton runat="server" ID="Hosciz" ImageUrl="../image/ciz1.png" Width="20px"Height="20px" AlternateText="bla bla" />
<...
0
votes
1
answer
149
views
find and toggle div in dom via jquery (asp.net gridview, radcombobox)
i use a radcombobox within a asp.net gridview.
Now i want, if the user select a special value from the combobox, to toogle a divs visibility. But because of the rendered code i have no idea what i ...
0
votes
1
answer
70
views
ASP.NET databound dropodownlist set value with jQuery
I'm trying to select the value of a DropDownList of a FormView through jQuery.
The code I'm using is not working but I cannot understand why:
$("input[id$='_ddlwidget']").val(_data[0]);
Debugging it ...
0
votes
1
answer
62
views
Jquery: how do i apply Empty Text to all textboxes, not just 1
I have this script which will put the tool tip text from a textbox as it's "Empty Text". Then when you click on it, the empty text disappears and reappears if you Blur and the textbox is still empty. ...
0
votes
1
answer
72
views
JQuery selector activating in the wrong control in ASP.NET webforms
So in this master pages site, i have included the below in the masterpage to enable datapicker in all textboxes containing the word "Date" in their id
<script src="http://ajax.googleapis.com/ajax/...
2
votes
4
answers
229
views
How to get IDs of Generated controls in ASP.net using JavaScript or JQuery
I have DataGrid and inside it one of the columns is a TextBox. The DataGrid is generated dynamically from Database. It is for invoicing. One invoice might have two rows, another might have 10. The ID ...
1
vote
1
answer
274
views
Adding css styles to dynamically generated items (jquery , css)
I have a problem with styling dynamically generated items. here is the example of grid items.
i need to add different classes (styles) to grid rows, in specific sequence. first row is grey, next ...
0
votes
2
answers
951
views
How to select the value of a link button in gridview
I have a gridview i am trying to select the value of a link button clicked on a specific row of gridview. below is my code and it is erroring out due to the improper selecting of link button in ...
-1
votes
2
answers
757
views
How to find second child of a user control in Jquery? [closed]
Hi iam having a page lets say Parent.aspx
In Parent am using a User Control say ChildOne.ascx
in this again i have other User Control ChildTwo.ascx ( Parent is ChildOne.ascx)
Now i want to find the ...
0
votes
3
answers
1k
views
How to detect current element using jQuery within nested ASP.NET listview
I have a nested listview containing multiple rows that each contain a ddl and a textbox, E.G.:
<ItemTemplate>
<tr>
<td>
<asp:DropDownList id="myDDL" runat=...
1
vote
0
answers
565
views
Jquery plugin Dropkick with dropdownlist in asp.net
I am using the awesome Dropkick plugin to style my dropdownlist in asp.net ,I have imported all the .js ans .css ( not the 'jquery.validate.min.js',I guess it has nothing to do with my problem)... The ...
3
votes
2
answers
2k
views
Removing <span> tags that are wrapped around <option> tags
I am trying to hide and show tags in a dropdown list, which I initially managed to get work in everything bar Internet Explorer. I then found that wrapping the options that needed to be hidden in ...
0
votes
1
answer
273
views
jQuery change id on client, and control can no longer be found on server?
I have a grid view, where user can add a new row. On the adding of row, the id's are changed like this..
$('<div class=".grdLoaded">').load("GridRow.htm", function () {
// ...