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 25 of 39
Search took 0.03 seconds.
Search: Posts Made By: Tulsi
Forum: ASP.NET 4 General Discussion October 16th, 2015, 02:56 AM
Replies: 1
Views: 805
Posted By Imar
Hi there, >> Is Linq to SQL even a recommended...

Hi there,

>> Is Linq to SQL even a recommended tool to be using?

It depends. It's a bit dated and a more modern choice would be Entity Framework. However, one of the busiest sites on the...
Forum: ASP.NET 4 General Discussion September 9th, 2015, 02:16 PM
Replies: 5
Views: 2,150
Posted By Imar
You could call multiple handlers by separating...

You could call multiple handlers by separating them by a semi colon:

onchange="PopulateInformation(); SomeOtherMethod()"

If you're using jQuery, look at http://api.jquery.com/one/ to set up a...
Forum: ASP.NET 4.5 General Discussion April 20th, 2015, 02:51 PM
Replies: 1
Views: 1,052
Posted By Imar
I would use a collection like a List<T> over a...

I would use a collection like a List<T> over a Hashtable as it's strongly typed and thus type safe.

var list = new List<EmergencyContact>();
list.Add(new EmergencyContact()); // works
list.Add(17);...
Forum: ASP.NET 4 General Discussion January 6th, 2015, 02:11 PM
Replies: 2
Views: 1,074
Posted By Imar
You could define the regular expression in the...

You could define the regular expression in the code behind and then assign it to the ValidationExpression property of each of your controls.

Hope this helps,

Imar
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB November 10th, 2014, 02:43 PM
Replies: 1
Views: 727
Posted By Imar
Hi Tulsi, >> I guess one solution might be to...

Hi Tulsi,

>> I guess one solution might be to change the ClientIDMode property for controls to static and then reference the control by id when using document.getElementById(''), but is this the...
Forum: ASP.NET 4 General Discussion November 3rd, 2014, 02:37 PM
Replies: 2
Views: 782
Posted By Imar
You may find this useful too:...

You may find this useful too: http://stackoverflow.com/questions/518762/jquery-clickfn-vs-bindclick-fn

Cheers,

Imar
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB November 3rd, 2014, 02:30 PM
Replies: 1
Views: 661
Posted By Imar
Hi there, You shouldn't remove the controls...

Hi there,

You shouldn't remove the controls since you still want the validation to take place at the server. Instead, set EnableClientScript to false so the controls run on the server...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB October 15th, 2014, 03:04 PM
Replies: 2
Views: 708
Posted By Imar
Hi Tulsi, For script that is specific to a...

Hi Tulsi,

For script that is specific to a single, or only a few pages: yes, absolutely.

For generic scripts, just add them to the master page.

Cheers,

Imar
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB July 7th, 2014, 08:38 AM
Replies: 2
Views: 833
Posted By Imar
Your SQL Server instance has either stopped, or...

Your SQL Server instance has either stopped, or the connection string is pointing to the wrong SQL Server. Take a look under Windows's services panel, or reboot your machine.

Cheers,

Imar
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB May 5th, 2014, 04:06 PM
Replies: 1
Views: 622
Posted By Imar
Hi there, The document ready function is jQuery...

Hi there,

The document ready function is jQuery specific but you can also use it for other code (provided the page contains a reference to the jQuery library) you want to execute when the DOM is...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB April 30th, 2014, 04:17 AM
Replies: 1
Views: 759
Posted By Imar
Hi Tulsi, Yeah, it looks like that. jQuery...

Hi Tulsi,

Yeah, it looks like that. jQuery rebuilt their plugins web site some time ago, and then may have cleaned up some older plugins.

HTML5 now has built-in support for watermarks using the...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB March 18th, 2014, 02:58 PM
Replies: 14
Views: 1,961
Posted By Imar
According to this page:...

According to this page: http://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.createuserwizard.createduser%28v=vs.110%29.aspx the user is logged in *after* CreatedUser has fired. So if...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB February 27th, 2014, 02:59 PM
Replies: 1
Views: 678
Posted By Imar
Hi Tobi, I studied Leisure Management, and did...

Hi Tobi,

I studied Leisure Management, and did my internship at a publishing company starting out with the web (years ago). I was sold on the idea of the web, and decided to make my career out of...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB December 19th, 2013, 01:47 PM
Replies: 14
Views: 1,961
Posted By Imar
Yes, that's exactly how it is. Some browsers,...

Yes, that's exactly how it is. Some browsers, such as FireFox, also have a "View Selection Source" menu command that shows the DOM (that includes the HTML added by JavaScript) instead of just the...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB December 3rd, 2013, 01:09 PM
Replies: 14
Views: 1,961
Posted By Imar
Hi Tulsi, When are you looking at the source...

Hi Tulsi,

When are you looking at the source code? The code is only available after a postback (as far as I know) as it's a server side check so it doesn't make sense to submit it on the initial...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB September 17th, 2013, 03:00 PM
Replies: 2
Views: 712
Posted By Imar
Hi there, Yes, that's correct. The Membership...

Hi there,

Yes, that's correct. The Membership service has a fixed API that uses a configured provider under the hood. That way, you can swap providers (through configuration) and everything...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB June 6th, 2013, 04:11 AM
Replies: 5
Views: 709
Posted By Imar
Hi Tulsi, It depends ;-) In my opinion, the...

Hi Tulsi,

It depends ;-)

In my opinion, the fact that the mail body file can't be found or read is a software or configuration error that won't go away automatically. This means there's no point in...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB March 18th, 2013, 06:44 PM
Replies: 1
Views: 528
Posted By Imar
Hi there, Check out the Try It Out titled...

Hi there,

Check out the Try It Out titled "Seeing the Page and Control Life Cycles at Work" on page 540 and further. That should answer all your questions around the different events that...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB February 21st, 2013, 02:30 PM
Replies: 1
Views: 695
Posted By Imar
No, this is by design. The resource you're trying...

No, this is by design. The resource you're trying to access is protected so you need permissions to view it. You could manually update Login.aspx and look at the query string. If there's a URL of the...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB February 15th, 2013, 06:22 PM
Replies: 1
Views: 480
Posted By Imar
Take a look at page 587. The config file supports...

Take a look at page 587. The config file supports a setting called DestinationPageUrl which defaults to Default.aspx if you don't specify it explicitly.

Hope this helps,

Imar
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB February 4th, 2013, 11:42 AM
Replies: 6
Views: 630
Posted By Imar
Hi Tulsi, >> Is this the best way to handle...

Hi Tulsi,

>> Is this the best way to handle this case?

I think I would prefer to assign the default NavigateUrl in Mark Up:

<asp:HyperLink ID="NewReview" runat="server"...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB January 25th, 2013, 02:44 PM
Replies: 3
Views: 716
Posted By Imar
Forgot to answer the FIndByValue part. That...

Forgot to answer the FIndByValue part. That requires data binding indeed as when you call it, the item is looked for in the Items collection. Without binding, the Items collection is empty and the...
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB January 11th, 2013, 02:45 AM
Replies: 6
Views: 954
Posted By Imar
Yes, as it uses semantic elements and CSS for the...

Yes, as it uses semantic elements and CSS for the layout; not tables to defined a fixed design....

Cheers,

Imar
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB November 2nd, 2012, 06:08 AM
Replies: 1
Views: 935
Posted By Imar
Hi Tulsi, Client side validation isn't real...

Hi Tulsi,

Client side validation isn't real validation; it's just a courtesy to the user. This means you're not required to implement a client validation function for the CustomValidatior control....
Forum: BOOK: Beginning ASP.NET 4 : in C# and VB November 2nd, 2012, 05:14 AM
Replies: 1
Views: 642
Posted By Imar
Indeed. Styles.css is just an arbitrary name /...

Indeed.

Styles.css is just an arbitrary name / locatiion. You can pick whatever makes sense for you. To keep the themes self-contained, you could duplicate the code in each of the theme's CSS...
Showing results 1 to 25 of 39

 


All times are GMT -4. The time now is 02:47 PM.


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