Is it possible to flatten a one-to-many relationship using dynamic LINQ?
For example, I might have a list of Users and the User class contains a list of many UserPreferences. The UserPreference class is essentially a name/value pair.
A user will define what types of user preferences are available for a group of users.
public class U...
I have a dynamically-created GridView which to which I'm attaching a handler using the AddHandler command.
The problem is that when I try to refer to sender.rows within that function, it won't do anything because it says that sender.rows.count = 0.
I've done enough dynamic form creation that I'm pretty sure that I'm creating the contr...
I need to add the itemid from the list of rows when i click 'add to cart' button in the gridview, i was able to pass this itemid to a arraylist.
but the problem is that everytime i click the button the previous itemid is overwritten with the new item instead i want the arraylist to expand.
public partial class Drama_k : System.Web.UI.Pa...
when the user selects "add to cart" the itemID of that row item is added to arraylist which is then stored in a session.
in the shopping cart page ive got a gridview which reads name, price from item db where session["array"]=itemID
the error is displayed when the shopping cart page loads.
all i want to do is to get the list of items ...
We are extensively using webaii as our functional automation tool with great success, but we are now facing problems automating extjs grid types using webaii. Could anyone who has overcome this issue in webaii or watin or watir provide inputs on this.
...
I have a ASP.NET GridView that i created on a page through SharePoint Designer 2007.
For some reason it just does not want to work, why is that and how can i Fix it?
Funny thing, it worked on another SharePoint Server but not on the one i am working on now, so i know my code is fine, it must be something ells on the SharePoint Server ma...
I would like bind an array data to view in ASP.NET MVC, how can I do that?
sorry for not clear about my question.
Right now, I creat a custom object(not array), I tried to pass it to View, but the error shows
"The model item passed into the dictionary is of type 'ContactView' but this dictionary requires a model item of type 'System.C...
I have the following markup, I took the extra stuff out of the divs, so it is easier to understand. I had my GridView set to 100% with collaspible panel extenders and it was showing fine on the page. Then instead of doing collapsible panel extenders and using accordion panels, the gridview only expands as much as it needs, no matter w...
Hi..
I have a gridview (actually a SPgridview)
And i made the columnname clickable so the users can sort the rows using the data.
And that works fine.
The problem occurs when users try to select a row after they sorted the data.
I can see that the gridview kinda "forgets" how the rows were sorted and selects the row that was at the cl...
Hi,
I have am trying the trial of DXperience gridview, and was wondering if it is possible to attach a aspx control to one of the columns.
I have created a simple control which contains a button and some javascript/ajax methods, and would like to add it to a column, but is it possible?
...
Hi again Guys, I want to display the duration only Hour, Minutes, and Second in data Gridview by Subtract TimeCheckOut from TimeCheckIn in ASP.NET using LINQ to SQL
Here is code behind:
Dim db = new MyDataContext
Dim user = from u in db.Employees select IDNumber = u.IDNumber, _
FirstName = u.firstName, LastName = u.lastName,...
I have a modal popup that has a targetId to a hidden button. I want the popup to occur when a button in a grid is clicked but that button is programmed behind the code and therefore the targetId would be invalid...
So I wanted to attempt to set the gridview's button's onclientclick event to be the onclientclickevent of that hidden butto...
Hi,
Is it possible with the DXperience gridview to have a image column which shows one image when my field is true, and another image if the field is false?
...
I am trying to add a footer row of DropDownLists to my GridView control. The problem is that I do not know how many columns will be in my DataSource at design time, so I am trying to use the AutoGenerateColumns=true and not specify the column templates. Therefore the way I am adding the DropDownList controls to the footer is in code dyna...
Hi, I want a Repeater control inside a Gridview row. So how can I assign the DataSource of the Repeater control so that the data it uses is that of the specific data of the GridView row?
I tried this:
DataSource='<%# Eval(Container, "DataItem.InnerVal")
but it does not work.
...
There's the usual Gridview with template column
<ItemTemplate>
"lbOpen" Text='Select' runat="server" OnCommand="lbOpen_Command"
CommandName="open" CommandArgument='<%# DataBinder.Eval(Container.DataItem, "OrderID") %>' />
Unexpectedly and by unknown reason "lbOpen_Command" ceased to fire.
After stop at page OnInit() breakpoi...
I have a grid view using bound, hyper link, and template fields.
I'm trying to figure out how to include two dynamic items in the NavigateURL properly of both the Lo-Fi:HyperLink control and the Hi-Fi:HyperLink control I know how to do this with a HyperLinkField field as I do in the second two columns but I can't use that inside the t...
I have a gridview and I add some buttons programmatically to this grid. I have an edit and delete button right next to eachother and I simply want to put a space between them programmatically. Any idea how to do that? Here is the code to add the buttons.
For i As Integer = 0 To GridView1.Rows.Count - 1
btnedit.ImageUrl = "\i...
hi i am doing an application where i am populating the grid from databse by passsing different parameters to the stored procedure and getting data to a datatable and binding it to the grid view. now i need to have filters applied to the grid so that it should just work like the filters applied to a excel sheet.
can i have some piece of ...
I have an ASP.NET 3.5 page with a gridview databound to a generic list of objects. The purpose of this page is to show the user a list of items they're responsible for so they can select one and go to the maintenance page to see the details of that item.
I have the "AutoGenerateSelectButton" property set to True. I have no problem whe...