All Questions
316 questions
13
votes
9
answers
43k
views
JQuery GridView control
Does anything like this exist?
What I am looking for is a control that is going to be client-side, with the Edit, Cancel row capabilities of a GridView.
I wish to use it to collect the data from ...
10
votes
2
answers
11k
views
Popup bootstrap model on GridView edit click using RowCommand event
I have a Bootstrap Model popup:
<asp:UpdatePanel ID="upModal" runat="server">
<ContentTemplate>
<!-- Bootstrap Modal Dialog -->
<div class="modal fade" id="myModal" role="dialog"...
9
votes
8
answers
10k
views
Filter GridView on TextBox's KeyPress event from code behind
I have a TextBox with KeyPressed event and I want to filter GridView on that event using jquery/javascript.
<asp:TextBox ID="txtSearch" runat="server" OnKeyPressed="txtSearch_KeyPressed()">
<...
9
votes
6
answers
9k
views
How to center align the header text of a TemplateField?
I've a GridView with TemplateFields.
I have tried HeaderStyle-HorizontalAlign="Center" to align the header text of the TemplateField to center but it's not working.
<asp:TemplateField ...
6
votes
3
answers
11k
views
Start a file download after a Postback
In my application I am building a zip file for the User to download for some exported database information. The zip file is created when the user clicks a "generate data" button and I log the request ...
6
votes
1
answer
2k
views
Exception while binding jQuery datatable to gridview
I am trying to bind jquery datatable to gridview. It throws exception.
"The table must contain row sections in order of header, body, then footer. "
Steps
1) JavaScript call
<script type="text/...
5
votes
3
answers
5k
views
Uncaught TypeError: Cannot read property 'mData' of undefined for JQuery DataTable
I have bound my datatable to my gridview in ASP.Net. I Have tried to use jQuery dataTable to show search and sorting options in my gridview, but the datatable throws me an error.
The Error is:
...
5
votes
1
answer
1k
views
Asynchronously sort GridView in ASP.NET MVC using Ajax
I'm using WebGrid to display data on client side, canSort: true is set.
The view code is:
@model UI.Models.TestModel
@if (Model.listTestModel != null)
{
var grid = new WebGrid(Model....
4
votes
6
answers
10k
views
How to open a page in a new tab in the rowcommand event of gridview?
I have the following code :
protected void gv_inbox_RowCommand(object sender, GridViewCommandEventArgs e)
{
int index = Convert.ToInt32(e.CommandArgument);
if (e.CommandName == "sign")
{
...
4
votes
4
answers
6k
views
ASP.NET DatePicker not working inside GridView
I have a database table with person information that also has their Date of Birth. I'm using GridView to display the fields and also using Column edit and delete options. To edit date im using ...
4
votes
1
answer
6k
views
Preserve scroll position of DIV in UpdatePanel through Postback
I have a GridView, displayed in a div, which is contained in an UpdatePanel control on an asp.net page. The div is setup to make the GridView scrollable when it is displaying a lot of information, ...
4
votes
2
answers
2k
views
How to reorder Gridview rows using Jquery?
I am using Drag and Drop for sorting rows of grid,
In this process i want Order(Sequence) of dragged row to be changed dynamically like if i drag 3rd row to 1st place i want it(order) to change to 1 ...
3
votes
4
answers
1k
views
custom paging in gridview
I am looking for paging(Top,Bottom) functionality for gridview(or any databind controls)
i am using .net framework 2.0.
i would like to have pointers
thank you
solution:
i used jQuery plugin ...
3
votes
2
answers
4k
views
Get ASP.NET GridView cell value and show in JQuery Progress Bar
I have an ASP.NET GridView which is populated from a SQL Server database. This is working fine. My code behind is using C#.
One of the columns in the GridView contains a JQuery Progress bar and ...
3
votes
4
answers
3k
views
How to Uncheck All Radio Button inside GridView using JQuery?
I have a Radio Button inside GridView. I want to Uncheck all the asp.net Radio Button except the current Selected one using JQuery. I have tried but no results..!
HTML Markup:
<ItemTemplate>
&...