I have two panels on the same page, side by side. On contains a gridview. I want to determine the height of the gridview after databinding and set the height of the other panel correspondingly, but when I try to read the height of the gridview it comes back as 0. How do I get it's height, preferably in PX?
...
I'm trying to center align data in a ListView/Gridview where I use DisplayMemberBinding.
This is (partially) how my gridview looks:
<ListView>
<ListView.View>
<GridView>
<GridView.Columns>
<GridViewColumn DisplayMemberBinding="{Binding Path=Timi}" Width="Auto">
<GridViewColumnHe...
I have a winforms project which I keep in different versions, each version having its own project folder. All these projects use the same database file, which is copied in each project folder too.
So if I run a project, let's say 0.34, and then I try to run 0.35, all the database functions don't work, unless I detach the database in SQL...
So before I tried custom gridview paging via ObjectDataSource... I think I read every tutorial known to man just to be sure I got it. It didn't look like rocket science.
I've set the AllowPaging = True on my gridview.
I've specified PageSize="10" on my gridview.
I've set EnablePaging="True" on the ObjectDataSource.
I've added the 2 p...
how to join two datatable datas into one datatable to show in one gridview
i.e in 1 datatable i have username and pwd and in another datatable i have that user details. how to show all these in one datatable to get those values display in gridview(asp.net)
any idea????
...
Hi, I am developing a commercial MVC2 app that requires a grid that has callback update in some form to support 10,000+ rows. It should also support relatively rich content (icons, multiline descriptions etc). Although it requires the usual paging/scrolling/sorting features it does not need support for grouping. So nothing that special.
...
I know this topic has been asked, but the posts are all out of date, or not functional on IE8.
In brief we basically want to do the excel style locking of column headers in a GridView.
I have seen a couple of solutions one jquery+ css(setExpression) which doesn't work in IE8. And another that uses ajax extensions, yet again doesn't w...
I have data coming from two tables with a foreign key relationship - one User table containing users of the web application, and one Page table containing details about pages visited by each user.
I would like to be able to view these data in a gridview or the like on a page. It's easy enough to just show the User table data like so (I'...
Hi,
I'm binding a GridView to a domain model object, this domain model object has a method for working out a formatted value to display on the grid. I'd like to use this method for my display value, which is fine, but I'd also like to be able to sort on the value returned by that method. My sort expression can only take in a property/...
I'm using a gridview where I list the articles on the page that the current logged in user has added to his/hers list of favorites. Next to the list I'd like to have a image of an X to delete the article from the list. However, I can't figure out how to get the ID of the article (so that I know what ID to delete from the SQL table) when ...
Is there a c++ library like Extjs that can be used in desktop applications written in c++?.
...
EDIT: Now Working, see below.
Hi all,
Having a slight problem with my ASP.Net 3.5 app. I'm trying to get the program to pick up what page number has been clicked. I'm using ASP.Net's built in AllowPaging="True" function. It's never the same without code, so here it is:
ASP.Net:
<asp:GridView ID="GridView1" runat="server" CellPadding=...
Hi,
dr looks like it is populated but I get a nullreferenceexeception when I try to bind to the gridview
EDIT
The following code (except the GridView is a dataGridView) in a c# application works, why is it nullreference in ASP.NET?
EDIT here is the c# app
SQLiteConnection cnn = new SQLiteConnection("Data Source=c:\\log.db");
...
The short version:
I have a grid view bound to a data source which has a SelectCommand with a left join in it because the FK can be null. On Update I want to create a record in the FK table if the FK is null and then update the parent table with the new records ID. Is this possible to do with just SqlDataSources?
The detailed version:...
How to replace cell value with their description. This is my grid
<telerik:RadGrid ID="RadGrid1" runat="server" DataSourceID="SqlDataSource1" GridLines="None">
<HeaderContextMenu EnableAutoScroll="True">
</HeaderContextMenu>
<MasterTableView AutoGenerateColumns="False" DataKeyNames="OrderID" DataSourceID="SqlDataSource1">...
I would like to be able to bulk edit all the rows for one column using a GridView control. What is the best way to do this?
...
My DataGrid contain totally 32 columns.I need to display my first 4 column as default column.
For the remaining Column i need to view using scroll bar.(not Page scroll need scroll bar inside my grid view)
...
I'm binding a GridView to a collection of objects that look like this:
public class Transaction
{
public string PersonName { get; set; }
public DateTime TransactionDate { get; set; }
public MoneyCollection TransactedMoney { get; set;}
}
MoneyCollection simply inherits from ObservableCollection<T>, and is a collection of MyMon...
I have created a class that returns a datatable, when I use the class in a c# winform the dataGridView is populated correctly using the following code
DataTable dt = dbLib.GetData();
if (dt != null)
{
dataGridView1.DataSource = dbLib.GetData();
}
However when I try the same thing with ASP.NET I get a
Objec...
Hi Experts,
I have gridview in my asp.net 3.5 application [C#]. Which looks like this:
<asp:GridView CssClass="grid_table" ID="GridView1" AllowPaging="true" PageSize="10"
AutoGenerateEditButton="true" ShowHeader="true"
AutoGenerateDeleteButton="true" DataKeyNames="studentId" runat="server"
OnRowEditing="Gri...