I'd like to be able to display a set of image thumbnails and allow the user to long-press, then drag the image to change the order. I've been looking at the events, and I think there's a way to do this, but it will be painful to code well. Just wondering if there's a component out there that does it.
The "Gallery" component is also an...
I have <asp:GridView /> control on the form and <asp:LinkButton /> when there is no any data in GridView, generated HTML of LinkButton looks like that
<a href="javascript:__doPostBack('ctl00$ContentPlaceHolder1$contolPanel$ctl00$ctl00$addNew','')" id="ctl00_ContentPlaceHolder1_contolPanel_ctl00_ctl00_addNew">
<strong class="CmsButR...
Im using a LINQDataSource to populate a GridView of Universities.
Each University has an associated State, which is in another table and associated by a foreign key (StateID).
I have a TemplateField in the GridView so that when you view it normally it displays the StateName which comes from the State table and when you edit it shows a ...
I've been working on this for a few days now I every time I come back to this problem I just don't see why it's not working correctly.
I'm trying to bind a DataTable to a GridView control that I create Dynamically. I create the GridView control, add it to a table, and then assign the DataSource property to my DataTable.
This is the cod...
How to sort datatable obtained by GridView according to some column.
I am trying to do something like this but it is not working.
protected void GridView_Sorting(object sender, GridViewSortEventArgs e)
{
if (sender.GetType() != typeof(GridView))
return;
DataTable dt = (DataTable)((GridView)sender).DataSource;
DataTa...
I have the following columns in a gridview, one is a date and the other one is a dollar amount. I applied the formatting and set the HtmlEncode property to false, however the values still come up unformatted:
<asp:BoundField DataField="Total" HeaderText="Total" ReadOnly="true" HtmlEncode="False" DataFormatString="{0:C}" />
<asp:BoundFie...
Backgroud: I'm using NHibernate for my model layer, and I have a HTTP module taking care of instantiating the session at the beginning of each request and cleaning it up at the end of each request (i.e. Session Per Request). In this case, I have two object types:
ParentItem - an object with a bunch of properties and a collection of...
I have two update panels on my page. The first has a form that contains required field validators and a button that triggers the update panel and sends the info to a database. It also has a trigger for the button.
The second update panel holds a gridview that shows a few columns from the collected data. As of right now I have the gridvi...
I have a text box inside gridview. I need to get the id of textbox in javascript. When i use like this '<%= txtNewQty.ClientID %>'; it gives the compilation error.
...
I have a gridview that I would like to be able to bind to several sqldatasources, but still use template fields. Each datasource is different and would have different columns so I'm not sure how to go about this. Is it possible to define a set of template fields or overlying template per datasource?
...
The datasource of the datagrid is a LINQDataSource which relies on the value of a dropdownlist. In addition, I want to use the footer to insert new records - so I'd prefer not to use the empty dataset template. I am trying to find a way to always display the footer regardless if the datasource is empty or not.
EDIT:
Is there a way to ...
how do i make my grdivew page more dynamic than hardcoded upto 5 pages?,
below code works fine but the limitation is that i can show upto 5 pages because i have 5 linkbutons. how can i make this code more dynamic page numbers?
<asp:GridView ID="gvTable" runat="server" ShowHeader="true"
PageSize="5" AllowPaging="true" AllowSorti...
Hello,
I need to shuffle the GridControl's DataSource. I use this property in a UserControl:
private List<Song> _songsDataSource;
public List<Song> SongsDataSource
{
get { return _songsDataSource; }
set
{
_songsDataSource = value;
if (!value.IsNull())
{
SongsBindingList = new BindingList<...
The first commented line below is working with a hardcoded ApplicantId, and all I need is to make it work by passing the current ApplicantId column on the same gridrow.
I've tried for many days now, and something like the second commented line does not work for me.
Please help.
<asp:GridView ID="GridView1" runat="server" AllowPaging="...
On my Gridview, I've successfully created a link, as below (with a FIXED customerid of 3)
<asp:HyperLinkField NavigateUrl="javascript:popUp(3)" Text="Detail"
Target="_parent">
How can I pass the actual value for CustomerId on the same row?
I have been searching trying for many days now. Please help. Please the link below. Som...
Hello,
I'm trying to add in Progress Bar Pager the extension "Ext.ux.grid.FilterRow".
It works good but the FilterRow is available only for the grid records in the select page.
Is it possible to filter all the grid records and not only the records shown in each page?
I show you what I've done. This is my php page:
<html>
<head>
<...
How to call javascript function when using validation controls on GridView.
I am trying to call confirmDelete function on delete button of GridViews delete button.
I dont have a code as of now. But when I was trying it was throwing an exception at javascript
...
I new to silverlight and trying to make a business application using the mvvm pattern and ria services. I have a view model class that contains a PagedCollectoinView and it is set to the item source of a datagrid. When I update the PagedCollectionView the datagrid is only updated the first time then after that subsequent changes to the d...
Can i in GridView add css to only first(headr) tr. I know how to add css to th inside header trr but i don't know if is possible to add css to trr?
GRIDVIEW:
<asp:GridView ID="gwCompanies" runat="server" AutoGenerateColumns="false">
<Columns>
<asp:TemplateField HeaderText="Ime">
...
Hi,
I have a GridView DataBind with entity ClassA's properties that is working fine.
I am able to directly bind below properties in ASPX file.
ClassA.Id
ClassA.Name
etc.
But ClassA also have a navigation property to related ClassB. I would like in a the same GridView to display related classB's properties.
I try to bind the following ...