I have a gridview that displays items details, I added two template fields one is a checkbox and the other is a textboc, what I want is simply to check all the items the customer wants to buy, and write down the quantity in the textbox, when I click on a button, I should check all rows in the gridview and when the checkbox is Checked the...
Hello. I was called to work on an older .NET legacy web app recently. The performance had recently fallen quite sub-par, as the amount of data in the system had quadrupled. Had been fine for the previous 2 years.
It was using a .xsd file to talk to a stored procedure that narrowed the results sufficiently (though no paging) and feeding ...
I have a question related to this one. I don't want to do a calculation (aggregation), but I need to get display values from an association. In my C# code, I can directly reference the value, because the foreign key constraint made Linq generate all the necessary wiring.
When I specify the IQueryable as the Gridview datasource property, ...
I have a datatable with verified 10 rows named dtable. I attempt to bind it to my gridview and nothing shows up on my asp.net page. Why do these relatively simple few lines not populate my gridview?
Dim con As SqlConnection = Nothing
Dim dTable As DataTable
Dim dataAdapter As SqlDataAdapter
Dim sqlcmd As String
.......
I am using Telerik's Radgrid for a website. Often the grid columns exceed the available width, and extend outside the main content area (fixed width).
So what are my options for presenting very wide grids. horizontal scroll bars just look ugly on my site
...
They seem to be equal. Can both have multiple keys separated by a comma.
...
Hi,
I am trying to use an update panel together with a gridview, but I am having some difficulties sorting the gridview. I tried to follow @dfowler in this thread
But when I try to sort I get this error when trying to databind the sorted list:
"The data source does not support server-side data paging."
Anyone having some clue what I d...
I'm binding a gridview dynamically from a table in my database I have called "Sessions". I get the information from a method using a linq query that is something like this:
var s = from sessions in datacontext.Sessions
where sessions.test == id
orderby sessions.ID ascending
se...
This is driving me crazy :-)
I'm trying to get a ASP.NET 3.5 GridView to show a selected value as string when being displayed, and to show a DropDownList to allow me to pick a value from a given list of options when being edited. Seems simple enough?
My gridview looks like this (simplified):
<asp:GridView ID="grvSecondaryLocations" ru...
I have a gridview and in that gridview i created a list of imagebuttons programmatically with an addhandler as follows:
Dim deletecshr As New ImageButton
deletecshr.ImageUrl = "\images\bttnDeletemini.gif"
deletecshr.ToolTip = "This Will Delete All Cashiers"
AddHandler deletecshr.Click, AddressOf deletecshr_Click
deletecshr.Attributes.Ad...
I'm getting the error:
Illegal characters in path.
when trying to load XML, using XPath, into a gridview's datasource in the PageLoad function in the code-behind of an ASP.NET page I'm building. Does anyone know what this error means?
The XML coming in from the Sharepoint Web Services call is:
<?xml version='1.0' encoding='ISO...
Hi
I am using a gridview and have have to set a sort expression, I am using:
<asp:TemplateField HeaderText="Order Name" SortExpression="OrderId">
<ItemTemplate>
<asp:Label ID="Label1" runat="server" Text='<%# OrderName(((DataLayer.Car)Container.DataItem).OrderId) %>' />
</ItemTemplate>...
I have seen several tutorials on how to achieve this.
However in my opinion they require a lot of prior knowledge on how to programatically refer to each item.
Does anyone have a link to or can create a relatively basic example of how to achive a running total in the footer for an ASP:Gridview?
...
I am working on a traditional WebForms project. In the project I am trying out some Linq datasources with plans to eventually migrate to an MVC architecture. I am still very new to Linq.
I have a GridView using a Linq datasource. The entities I am showing has a to many relationship and I would like to get the maximum value of a column i...
hi to all
how to add a dropdownlist to gridview and how to add a datasource to dropdown.
for example:
i have gridview with 5 colomns c1,c2,c3,c4,c5 here i want to add a dropdownlist only
c1 and c2 what is the procedure for do this work
note: vs2008,asp.net with c#
thanks
...
I've created a Gridview control that pulls some data from my database, but doesn't display all of the information I'm hoping it gathers. I choose not to display the primary key for user interface purposes, but require that key for basic operations on the grid.
I'm currently attempting to add a "Delete" option to the table, but unfort...
Hello to all! I was wondering how, from an event on the child object inside a templatefield belonging to a gridview, I could reference the row.
[edit: apparently I'm wrong and parent is not null, weird stuff, is all.]
Thing is, there is a checkbox representing a boolean state in relation to a user's relation to an ID. I have to update ...
I really hate this error, because it can be so hard to pin point.
In this case, I have a page with a user control on it that contains a gridview. When a button is clicked to view one of the records in the gridview, a pop-up window (in the form of a modal dialog) opens allowing the user to edit the fields. Then, when the pop-up is clos...
I am tried to create a data list display all cuisine in alphabetical order in column however i couldn't find the way to do it, can any one help.
using data list or repeater in asp.net only allow you to display in horizontal or vertical alphabetical order for example
Afghan Asian Burmese Cambodian
Chinese Croatian Euro...
Hi.
I have a problem I am unable to solve even though I spend long time trying to do it.
I usually use GridPanels to align controls on forms. It has, however, an annoying bug. When the GridPanel align mode is alClient and I maximize its parent window, the GridPanel adjusts to the new size of that window, however, the controls laying on...