Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Welcome to the p2p.wrox.com Forums.

You are currently viewing the section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Showing results 1 to 12 of 12
Search took 0.01 seconds.
Search: Posts Made By: VadimZ
Forum: ASP.NET 2.0 Professional August 13th, 2007, 09:13 AM
Replies: 7
Views: 1,198
Posted By VadimZ
Thanks Gonzalo for hint, but "findcontrol with...

Thanks Gonzalo for hint,
but "findcontrol with the name of the control to find it inside a cell "
does not work - here is the solution:
if(gvr.Cells[0].HasControls())
{
Control c =...
Forum: ASP.NET 2.0 Professional August 13th, 2007, 08:11 AM
Replies: 7
Views: 1,198
Posted By VadimZ
OK, but exactly the same code is perfectlly...

OK,
but exactly the same code is perfectlly works with BoundField.
And how can I get HyperLinkField from GridViewRow.Cells[i].Controls ?
Forum: ASP.NET 2.0 Professional August 13th, 2007, 07:35 AM
Replies: 7
Views: 1,198
Posted By VadimZ
Return value of HyperLinkField

Hi,
I am trying to return value from GridView HyperLinkField field
with the statement:

foreach (GridViewRow gvr in userGV.Rows)
{
value = gvr.Cells[1].Text;
}

but I am getting empty...
Forum: ASP.NET 2.0 Professional July 6th, 2007, 03:04 PM
Replies: 8
Views: 3,973
Posted By VadimZ
Thanks for replying Peter, dataset is OK - it...

Thanks for replying Peter,
dataset is OK - it has data,
also, the error happend when AllowPaging is set to true
Forum: ASP.NET 2.0 Professional July 6th, 2007, 07:30 AM
Replies: 8
Views: 3,973
Posted By VadimZ
Imar, already stepped through the code, it...

Imar,
already stepped through the code, it brakes on:

gvProgrm.DataBind();

with error:

Exception Details: System.NullReferenceException: Object reference not set to an instance of an...
Forum: ASP.NET 2.0 Professional July 5th, 2007, 05:11 PM
Replies: 4
Views: 3,231
Posted By VadimZ
Mike, could you pls take a look on my another...

Mike,
could you pls take a look on my another topic:
"Paging in gridview control"

Thanks
Forum: ASP.NET 2.0 Professional July 5th, 2007, 03:13 PM
Replies: 8
Views: 3,973
Posted By VadimZ
When gvProgrm.AllowPaging = false - it works fine.

When gvProgrm.AllowPaging = false - it works fine.
Forum: ASP.NET 2.0 Professional July 5th, 2007, 10:43 AM
Replies: 8
Views: 3,973
Posted By VadimZ
Paging in gridview control

I am having trouble with paging in gridview control.
GridView was created in runtime:

System.Web.UI.WebControls.GridView gvProgrm = new GridView();

gvProgrm.AllowSorting = true; //(Sorting...
Forum: ASP.NET 2.0 Professional July 5th, 2007, 07:34 AM
Replies: 4
Views: 3,231
Posted By VadimZ
Thanks Mike, It was helpful - it fixed my...

Thanks Mike,
It was helpful - it fixed my problem.
Forum: ASP.NET 2.0 Professional July 5th, 2007, 07:28 AM
Replies: 2
Views: 810
Posted By VadimZ
Hi Mike, you were right it works - just wrong...

Hi Mike,
you were right it works - just wrong parameter.

Thanks
Forum: ASP.NET 2.0 Professional July 3rd, 2007, 09:55 AM
Replies: 4
Views: 3,231
Posted By VadimZ
Events issue for programatically created GridView

I have create GridView programatically with the statement:
System.Web.UI.WebControls.GridView gvProgrm = new GridView();

then create to events hendlers:

protected void...
Forum: ASP.NET 2.0 Professional July 3rd, 2007, 09:37 AM
Replies: 2
Views: 810
Posted By VadimZ
Problem with Programmatically created HyperLinks

I have a problem with Programmatically created HyperLinks - there is
code:

System.Web.UI.WebControls.GridView gvProgrm = new GridView();

foreach [?](DataColumn col in dt.Columns)
{...
Showing results 1 to 12 of 12

 


All times are GMT -4. The time now is 08:25 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.