I thought the same thing...but it doesn't work either. I need to go to the gvDirective.OnDataBound event to set up the data source and pass the ID of that grid to the gvTask grid.
It should follow the following route:
1. gvTask_RowEditing (calls gvDirective.DataBind())
2...
I think I'm confused too ;)
Parent: gvComplianceType
Child: gvDirective
Grandchild: gvTask
I created a word document with screen prints of the grids to hopefully show what I am trying to do and where I am. Unfortunately, I can't upload it!
Lets try this: If I click on the...
Here is the code for the gvTask
Protected Sub gvTask_RowDataBound(ByVal sender As Object, ByVal e As GridViewRowEventArgs) Handles gvTask.RowDataBound
Dim row As GridViewRow = e.Row
Dim strSort As String = String.Empty
'Check if this is our Blank Row being...
Thank you both for your responses. I got as far as I did through google searches...I basically found others doing the same thing and made it work for me :) (only it really doesn't work).
I didn't want to do a 3 layer grid but my users want to be able to see all data on one screen. I wanted...
Let me first start with...I am teaching myself .net :) Now, having said that...I have a page that contains a 3-level nested gridview:
parent
child
grandchild
For the most part..it works. The parent and child grids both work perfectly. The grandchild however, is causing some...
Hello,
I am trying to help my non-technical users :) I have a Access 2003 report that I need to print 6 pages on 1 sheet and rotate it 180 degrees. It is easy enough (for most people) to just go into the printer settings (i.e. rotate printer orientation 180 degrees and print 6 pages per...
Thanks for the reply Jason.
This is actually the first .Net app I have written (basically I'm a DBA with time on my hands, so I am playing).
I have built this app by using the tutorial from Microsoft. Could you point me in the direction of a sample app that shows how to bind directly to the...
Ok, I can't figure this one out. I have a grid with a combo box that has the following code:
</asp:TemplateField>
<asp:TemplateField HeaderText="Day of the Week" SortExpression="Day_of_Week">
<EditItemTemplate>
<asp:DropDownList...
Ok, I have 2 tables. Tbl_IP_Address contains a listing of all IP Addresses assigned to my org. Tbl_MAC_IP associates the IP Address to the MAC address of a given device. I want to query for those IP Addresses not assigned to a MAC Address. Here is what I have so far:
SELECT...
Go to Tools...Database Utilities....Linked Table Manager. Select all tables then hit ok. It may prompt you for the new location and login information. Provide the correct information and you should be good.
Brenda
You could always put the setfocus code on the Lost Focus or On Exit event. That would, however, create logic that would not allow the user to move to another field. You would need to create an If statement on the LostFocus event that allowed the user to move on if certain criteria were met...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.