|
-
May 10th, 2007, 08:26 PM
#1
Thread Starter
Addicted Member
[2.0] Custom Control Question
Hello,
Im currently developing a framework, will allow people to drop a control or 2 on there page, and have a fairly decent blog system...
i will be offering it in 2 versions, one as a custom control, the other as a sort of 'Engine', that they can get the individual properties, so they can customise it to there hearts content...
i have, however a slight issue...
with the custom control, i will be using an enumeration to determine how to display the articles...Last5Articles, SingleArticleById & ArticlesByCategory...
now, how i want it to work, is like most other blogs, where it works on a querystring...however, as the Custom Control will be compiled to dll, i dont think that i can call Request.QueryString["article_id"] from in it...
so what i need to know, is how do i pass a value to my control....without using a property...
The reason i dont want to use a property, is that it would still have to be called using some code...
is there anyway to make the dll file look for the querystring...
Thanks, and sorry if this is the wrong way to go about it, im open to suggestions. :>
Thanks, Justin
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|