gridview

Get the rowIndex of an ASP.Net Gridview using jQuery

Hello, is it possible to get the current rowindex of a gridview using jQuery? Bit of background: I delete rows from a gridview using a server side link button in a template field like so: <asp:LinkButton CausesValidation="false" CommandName="Delete" ID="lnkDelete" OnClientClick="javascript: return(confirm('Delete item?'...

changing selected text of dropdownlist in Gridview using javascript

I have a dropdownlist, and a Gridview where one of the columns is a dropdownlist. both dropdown lists use the same data source. When a value is selected in the dropdownlist (outside the gridview) I want to chaneg the selectedValue and selectText of every dropdownlist in my gridview. This is what I have tried: Dropdownlist: <asp:Drop...

Using an ObjectDataSource with a GridView in a dynamic scenario

I have a search page that is tasked with searching 3.5 million records for individuals based on their name, customer ID, address, etc. The queries range from complex to simple. Currently, this code relies on a SqlDataSource and a GridView. When a user types a serach term in and presses enter, the TextBoxChanged even runs a Search(ter...

Problems with HelloGridView tutorial from Android Developer site

Hi, i test this tutorial with the sample images they have and work's ok but when i put my own images then application crash (stopped unexpectedly) why? the only i do is to put my own images with the same name than sample images.... for example, i erase sample image "sample_0.jpg" and i put my own image from my harddisk with the same n...

Control added to a gridview in RowDataBound event does not exist after postback

I have a gridview that is bound to a datatable. Based on the value in a cell in a column, a linkbutton is added to the cell in RowDataBound. On the first load, everything works find but after postback the control is now gone. Why wouldn't the control itself be saved in the GridView Viewstate? I'm using VB.NET ...

Why the gridview layout breaks in IE7?

http://210.22.155.222/group/3431/explore-learncentral You can see it by simply clicking the Members tab. It's fine in Firefox and IE8, each <tr> contains 4 items, but in IE7, the layout is broken,each <tr> with only 2 items. What's wrong in IE7? ...

GridView OnClick

Hello, I am working on an album art list using the build in MediaStore database. I am having trouble figuring out how to pass a String from the OnClick method to the intent. I want to pass the chosen album title to the next activity. Here is my code: import android.app.Activity; import android.content.ContentResolver; import andro...

ExtJS: getRowClass don't work in a GridPanel with grouping view enabled

Hi everyone, I'm trying to do use getRowClass in a grid panel with grouping view enabled. Here is my code (short version) var myPanel = new Ext.grid.GridPanel({ contentEl: 'editor-grid', region: 'center', ds: ds, cm: cm, autoScroll: true, autoExpandColumn:'method-name', view: new Ext.grid.GroupingView({ startCollapsed:false,...

How do I stop my ObjectDataSource from binding twice?

This has been covered a couple of times, without a suitable answer: http://stackoverflow.com/questions/2641156/objectdatasource-firing-twice-or-on-its-own http://stackoverflow.com/questions/651293/objectdatasource-created-twice-when-control-is-changed I have created a custom paging data class that is used with an ObjectDataSource. In...

timepicker in Telerik mvc grid edit and insert mode

Hi, I working on telerik mvc grid. My requirement is timepicker in mvc grid edit mode . how to create time picker in telerik mvc grid please give me any example. thanks and regards shanker.B ...

Error on compiling a grid view

Hi all, I'm having a strange issue with getting my GridView - RowDataBound method to compile. I've got a simple GridView with the following: <asp:GridView ID="gv_View_Documents" runat="server" AllowSorting="true" DataKeyNames="DocumentName,Description" AutoGenerateColumns="false" OnSorting="gv_View_Documents_Sorting" OnRowCanceli...

ASP.net: Paging one Gridview caused other gridviews to reload...

I haven't actually dealt with multiple grids on one page in a very long time, so perhaps someone can jog my memory. I have two grids and a treeview in three separate jQuery UI tabs. Every time I page my gridview, which is a custom control inheriting from Gridview, the other tabs refresh. How can I stop this? ...

Adding to Androids GridView Example

Hi there, was wondering if anyone could help me on how to add a type of 'popup' to Googles Androids GridView example. Found at.. http://developer.android.com/resources/tutorials/views/hello-gridview.html at the moment I only managed to work out how to set the clicked imaged as a background. How could I have it popup as a View or someth...

How Can We Have A SCROLLABLE GridView With Fixed Header???

Hi my dear lords : How Can We Have A SCROLLABLE GridView With Fixed Header???(in vs 2008 - asp.net with c#) Fixed Header is my problem! i test many ways for doing that and see some live demos / but they did not work. can u show me a simple way 4 doing that with an example? thanks in future advance ...

HyperlinkField in Gridview not showing blue underline for links

Hello, I have a hyperlinkfield in Gridview control. I am using the below shown stylesheet for the gridview. But for some reason, the hyperlinkField column in the gridview is not in blue color and there is no underline. How can I display the hyperlinks as regular hyperlinks as blue in color and underline? Thanks /* table style */ table...

Quartz.NET - edit/delete job page

Hi, I'm using Quartz.NET for a C# Windows Service I am creating. I want the administrators to be able to access a webpage that displays all jobs and associated triggers in a gridview so they can update or delete the jobs. The issue I have is a lot of data I want to be displayed/editable is stored in the JOB_DATA field, which is a binary...

GridView - using CSS-Friendly Control Adapters removes EmptyDataTemplate and EmptyDataText

As pointed out in the question: EmptyDataTemplate and EmptyDataText not working in GridView using CSS-Friendly Control Adapters removes the data that would would be populated by EmptyDataTemplate or specified in EmptyDataText in GridView. One of the solutions is to disable the addapters for GridView components as specified in this a...

printable gridview?

Hi, I have a very big gridview with 30 columns and 10 rows on each page. I have to make this data printable. It is to wide to just print it from browser. What is the best solution? Making a report (crystal report), making an excel or word file from some datasource..? ...

how to use sort a data grid view even when its datasource is set

how to use sort a data grid view even when its datasource is set ...

Styling a Gridview "Caption" from C# class

I'm trying to style the caption of a ASP.Net GridView in a C# file. here is my method that returns a styled GridView: private GridView setupGridView(string caption) { var gview = new GridView() { BackColor = Color.White, BorderColor = Color.Gray, BorderStyle = BorderStyle.Solid, BorderWidth = new Unit(1, UnitType.Pixel), Cap...