Wrox Programmer Forums
| 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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Showing results 1 to 25 of 500
Search took 0.07 seconds.
Search: Posts Made By: jbenson001
Forum: ASP.NET 4 General Discussion March 4th, 2015, 10:31 AM
Replies: 4
Views: 2,526
Posted By jbenson001
Yes you are correct, unless databind is called,...

Yes you are correct, unless databind is called, the RowDataBound will not fire. However, I cannot ever think of a time when I did an update from the gridview and then did NOT refresh the grid. When...
Forum: ASP.NET 4 General Discussion March 3rd, 2015, 12:45 PM
Replies: 4
Views: 2,526
Posted By jbenson001
This is happening because the RowDataBound event...

This is happening because the RowDataBound event runs AFTER the RowUpdating event. You have to change the lable(s) in the RowDataBound event
Forum: ASP.NET 4 General Discussion March 17th, 2011, 01:40 PM
Replies: 5
Views: 1,591
Posted By jbenson001
I'm glad I was able to help. In most cases, you...

I'm glad I was able to help. In most cases, you will only want to load the data for your controls if it is NOT a post back.
Forum: ASP.NET 4 General Discussion March 16th, 2011, 10:06 AM
Replies: 5
Views: 1,591
Posted By jbenson001
put the DtaforGrid() call in the IF not...

put the DtaforGrid() call in the IF not page.ispostback code
Forum: ASP.NET 4 General Discussion March 14th, 2011, 06:09 PM
Replies: 1
Views: 1,689
Posted By jbenson001
put a counter in your loop. If 0 items are...

put a counter in your loop. If 0 items are selected, show your message
Forum: ASP.NET 4 General Discussion March 14th, 2011, 06:03 PM
Replies: 5
Views: 1,591
Posted By jbenson001
It would seem that you are binding the grid...

It would seem that you are binding the grid elsewhere in your code. Check to make sure you don't have binding code somewhere else, such as the Page_Load event.
Forum: ASP.NET 2.0 Professional February 5th, 2010, 11:30 AM
Replies: 4
Views: 1,579
Posted By jbenson001
I have seen this question posted many times in...

I have seen this question posted many times in many forums and trying to force a session expiration is quirky at best. I am not sure what the .NET engine does behind the scenes to do this, but you...
Forum: ASP.NET 2.0 Professional February 4th, 2010, 09:08 PM
Replies: 4
Views: 1,579
Posted By jbenson001
You can't force a session to expire. You could...

You can't force a session to expire. You could store the information in an encrypted cookie and set and absolute expiration time of the cookie.
Forum: ASP.NET 2.0 Basics February 4th, 2010, 09:04 PM
Replies: 1
Views: 843
Posted By jbenson001
You are programming your javascript as if it were...

You are programming your javascript as if it were the code behind. You pass the object, but javascript does not know what .id is. I would just simply pass the ClientID of the checkbox to your js...
Forum: ASP.NET 2.0 Professional December 10th, 2009, 12:50 PM
Replies: 6
Views: 2,486
Posted By jbenson001
Then I suggest you contact the author of that...

Then I suggest you contact the author of that page for support.
Forum: ASP.NET 2.0 Professional December 10th, 2009, 11:19 AM
Replies: 6
Views: 2,486
Posted By jbenson001
You did not tell me what the error was and what...

You did not tell me what the error was and what line of code the error points to.
Forum: ASP.NET 2.0 Professional December 9th, 2009, 05:40 PM
Replies: 1
Views: 918
Posted By jbenson001
This is an ASP.NET 2.0 forum. Look to see if...

This is an ASP.NET 2.0 forum. Look to see if there is an appropriate forum for this question.
Forum: ASP.NET 2.0 Professional December 7th, 2009, 03:30 PM
Replies: 6
Views: 2,486
Posted By jbenson001
What is the error and what line of code is...

What is the error and what line of code is causing the error?
Forum: ASP.NET 3.5 Basics December 4th, 2009, 11:00 AM
Replies: 3
Views: 1,410
Posted By jbenson001
There are code converters on-line. Just use...

There are code converters on-line. Just use Google.
Forum: ASP.NET 3.5 Professionals December 3rd, 2009, 04:42 PM
Replies: 3
Views: 951
Posted By jbenson001
You can't share session variables between...

You can't share session variables between applications. Sessions are tied to an instance of the application(in the browser).

The only option I can think of is to store the values in a database.
Forum: ASP.NET 3.5 Professionals December 3rd, 2009, 04:37 PM
Replies: 8
Views: 1,039
Posted By jbenson001
check out this post. There is a nice javaScript...

check out this post. There is a nice javaScript solution that is very easy to implement and understand.
Forum: ASP.NET 3.5 Basics December 3rd, 2009, 04:22 PM
Replies: 1
Views: 2,251
Posted By jbenson001
I am very unclear as to what you are asking. If...

I am very unclear as to what you are asking. If you want to print a page in an ASP.NET application you will have to use javascript:
window.print();
Forum: ASP.NET 3.5 Basics December 3rd, 2009, 04:19 PM
Replies: 3
Views: 1,410
Posted By jbenson001
This is what I have done in the past. I created a...

This is what I have done in the past. I created a datatable with all the info I needed, including the date(s) needed. Then, in the DayRender event of the calendar, I looped through all the rows in...
Forum: ASP.NET 2.0 Basics December 3rd, 2009, 04:01 PM
Replies: 2
Views: 1,125
Posted By jbenson001
You have to use the findcontrol() method...

You have to use the findcontrol() method (johnkingsley06's code) in the ItemDataBound event of the datalist.
Forum: ASP.NET 2.0 Professional December 2nd, 2009, 05:10 PM
Replies: 6
Views: 2,439
Posted By jbenson001
That is a very broad question. You will have to...

That is a very broad question. You will have to create a database that holds rooms and dates available. then display this to the user some way, via a grid, repeater etc. You need to get some ideas...
Forum: ASP.NET 2.0 Professional November 10th, 2009, 05:23 PM
Replies: 1
Views: 1,537
Posted By jbenson001
Create a public property on the masterpage as...

Create a public property on the masterpage as string.
Then from the content page, you access that property and set it's value.
on the load of the master page, you set the label text to the public...
Forum: ASP.NET 2.0 Professional November 4th, 2009, 05:32 PM
Replies: 2
Views: 1,432
Posted By jbenson001
Did you try using Google to research? FireFox...

Did you try using Google to research? FireFox did not support it until FireFox 3 was released. Are you using an older version?
Forum: ASP.NET 2.0 Basics November 4th, 2009, 05:14 PM
Replies: 4
Views: 13,874
Posted By jbenson001
What is the exact error message? I believe...

What is the exact error message?

I believe the problem is that you are using a MsgBox(). MsgBox and MessagBox() will only display on the server, not the client pc. It works locally, because your...
Forum: ASP.NET 2.0 Professional October 30th, 2009, 10:12 AM
Replies: 1
Views: 1,975
Posted By jbenson001
If the hyperlink is on the form and not in...

If the hyperlink is on the form and not in another containing control, then there is no need for the findcontrol(). Now, since you have put this code on a content page, you are getting the error...
Forum: ASP.NET 2.0 Basics October 27th, 2009, 03:07 PM
Replies: 4
Views: 2,907
Posted By jbenson001
What he is saying is that a checkbox can only...

What he is saying is that a checkbox can only have 2 possible values, TRUE or FALSE. The problem you are having is that you are getting NULL values and a checkbox does not know how to display that. ...
Showing results 1 to 25 of 500

 




Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.