Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Search Forums
Password Reminder
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 19 of 19
Search took 0.01 seconds.
Search: Posts Made By: hpox
Forum: ASP.NET 2.0 Professional March 30th, 2007, 01:15 PM
Replies: 1
Views: 674
Posted By hpox
Use different Controls for different language?

Hi,

Let say we have a menu in french and in english. That menu is contained inside a control.

They are different enough that we cannot localize one version for both language, we actually need...
Forum: ASP.NET 2.0 Professional March 28th, 2007, 09:29 AM
Replies: 2
Views: 886
Posted By hpox
This work! :) <head runat="server"> ...

This work! :)


<head runat="server">
<title id="titleId" runat="server"></title>
</head>


And in the code behind, set titleId.Text to (String)this.GetLocalResourceObject("Title");
Forum: ASP.NET 2.0 Professional March 28th, 2007, 09:23 AM
Replies: 2
Views: 886
Posted By hpox
Website title (English and French)

I have MasterPage.master and I want to set the title using resources files so I can have an english title as well as a french title depending on the context.


<head runat="server">
<title>My...
Forum: ASP.NET 2.0 Basics March 16th, 2007, 12:58 PM
Replies: 1
Views: 837
Posted By hpox
Is it alright to bump our topic in this forum? ...

Is it alright to bump our topic in this forum?

I still haven't found an answer to my question. It seems like a really simple issue. Can anyone help, please? Thank you.
Forum: ASP.NET 2.0 Basics March 9th, 2007, 11:28 AM
Replies: 1
Views: 837
Posted By hpox
Global Resources Compiled?

Hi,

After I publish my web site, the ".resx" files that are found under App_GlobalResources cannot be edited because they are compiled into a ".dll". On the other hand, the ".resx" files under...
Forum: ASP.NET 2.0 Basics February 16th, 2007, 04:08 PM
Replies: 1
Views: 2,393
Posted By hpox
Get the first item of a List

I have a List<Type> that I know will always contain only one item and I want to get that item.

I can't find a simple method that will let me do that in one line! DO I really have to get the...
Forum: ASP.NET 2.0 Basics February 16th, 2007, 11:54 AM
Replies: 1
Views: 2,477
Posted By hpox
Ok, yeah. Nevermind. This works perfectly: ...

Ok, yeah. Nevermind. This works perfectly:

<asp:Literal ID="isbnProduit" runat="server" Text='<%# Request.QueryString["isbn"] %>'/>
Forum: ASP.NET 2.0 Basics February 16th, 2007, 11:45 AM
Replies: 1
Views: 2,477
Posted By hpox
Get value of a QueryStringParameter in UserControl

Hi,

In my ObjectDataSource I have this:


<SelectParameters>
<asp:QueryStringParameter Name="isbn" QueryStringField="isbn" Type="String" />
</SelectParameters>
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 January 11th, 2007, 12:20 PM
Replies: 7
Views: 2,628
Posted By hpox
Thoughts on BizObject

Hi,

First of all, I must say that I'm liking the book so far, it's pleasant to read and it has strong ideas and teach ASP .NET 2.0 well. (I'm a beginner with C# and ASP .NET)

But there's one...
Forum: ASP.NET 2.0 Professional January 8th, 2007, 11:04 AM
Replies: 1
Views: 3,989
Posted By hpox
(I know I'm replying to my own question) ...

(I know I'm replying to my own question)

Yes, it is possible. In the code-behind file, do something like this:


GridView gridView = ((GridView)produitListing.FindControl("gridView"));...
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 January 8th, 2007, 11:00 AM
Replies: 3
Views: 1,069
Posted By hpox
I'm posting this message in case it can be of...

I'm posting this message in case it can be of help to anybody searching for a similar solution.

Our solution was to 1) Instanciate our object in the code-behind file of the aspx page. 2) Get the...
Forum: ASP.NET 2.0 Basics January 5th, 2007, 03:44 PM
Replies: 10
Views: 12,648
Posted By hpox
Thank you very much. That's what we decided to...

Thank you very much. That's what we decided to use (the literal trick). We cannot use option 1 because the html is in a template that can be added to any page anywhere. It's a menu.
Forum: ASP.NET 2.0 Basics January 5th, 2007, 01:46 PM
Replies: 10
Views: 12,648
Posted By hpox
It's crazy because the preprocess will complain...

It's crazy because the preprocess will complain that the file does not exist when using a relative path but when using the tilde, the preprocess will find the file and won't complain. But at run-time...
Forum: ASP.NET 2.0 Professional January 3rd, 2007, 11:40 AM
Replies: 0
Views: 537
Posted By hpox
Package a control into a dll

Hi,

Is it possible to package c# code and ascx code into a dll and import it into another project? A bit like a .jar in Java.

We developed a product listing control as a prototype to show what...
Forum: ASP.NET 2.0 Basics January 3rd, 2007, 10:54 AM
Replies: 10
Views: 12,648
Posted By hpox
Make the tilde work on script element

In an aspx page, how do you add the html element "script" and make use of the tilde feature on it?

For example, when I put this code in an .aspx or .ascx page:


<script type="text/javascript"...
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 December 24th, 2006, 03:38 PM
Replies: 3
Views: 1,069
Posted By hpox
Thank you Eric. Of course that would work. What...

Thank you Eric. Of course that would work. What doesn't work is we cannot cast an ObjectDataSource to our BLL object.

Our problem is that there is no way to get the Recherche object that was used...
Forum: ASP.NET 2.0 Professional December 22nd, 2006, 05:19 PM
Replies: 1
Views: 3,989
Posted By hpox
Passing a DataSource to a user control

Is it possible to have a generic user control (productListing.ascx) that contains only a GridView and no ObjectDataSource linked to it?

What we want is to dynamically set the ObjectDataSource...
Forum: BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 December 22nd, 2006, 03:55 PM
Replies: 3
Views: 1,069
Posted By hpox
Search Function and User Controls

Hi, I posted the same question in the ASP.NET 2.0 Professional forum but thought that this forum might be more appropriate since we're following this book.

I implemented a search functionality to...
Forum: ASP.NET 2.0 Professional December 22nd, 2006, 02:27 PM
Replies: 0
Views: 727
Posted By hpox
Search Function and User Controls

Hi (first post here),

I implemented a search functionality to a website. That website was developed using a 3-layers architecture as described in Bellinaso's Problem - Design - Solution.

I use...
Showing results 1 to 19 of 19

 


All times are GMT -4. The time now is 01:05 PM.


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