|
Just change the visibility of your panels or multiview in the button_click event. Or call a function with the visibility logic if you prefer that.
|
|
|
|
|
I guess I was thinking too hard on this. Thanks for the bread crumbs...
|
|
|
|
|
hi
a project i'm going to undertake will require a user system which generates a virtual subdomain for users who register with my site.
For example the user john signs up and is given a subdomain to access his account, john.website.com, which when rendered in the browser will automatically bring up http://website.com/profile.php?username=john or similar.
How can this be acheived? I know it can be done with ISAPI_REWRITE I want to use my code for it.
I work ASP.NET.
tanks.
MK4
modified on Saturday, November 1, 2008 3:13 AM
|
|
|
|
|
AFAIK its more of an IIS and DNS configuration thing and outside the realm of control of your app. Once your app gets the request however, you can look at the domain on which the site is being accessed (from your "default.aspx" maybe or even from an HTTP handler) by inspecting the HTTP headers and appropriately redirect or transfer to another page.
But from looking at the URL that you want to redirect to, it looks like you're using PHP though and not ASP.NET?!
--
gleat
http://blogorama.nerdworks.in[ ^]
-- Number Two's eyes narrowed and became what are known in the Shouting and Killing People trade as cold slits, the idea presumably being to give your opponent the impression that you have lost your glasses or are having difficulty keeping awake. Why this is frightening is an, as yet, unresolved problem. -- HHGTG
|
|
|
|
|
hi
i find a way to do it.
1. DNS must be configured.
like *.example.com IN A 10.10.10.10(the site's IP)
2.IIS must be configured such every request to example.com by every subdomain go through ASP ISAPI
3.A HttpModule must be created to handle those request and convert it to actual address.
LIKE subdomain.example.com ----> www.example.com/query?id=subdoamin.
thanks.
bye.
MK4
|
|
|
|
|
Hi.
I have the same problem .Do you know any online HttpModule sample? I have no idea about it.
regards.
mehran
|
|
|
|
|
i wrote a webmethod that get an specified object and do the manipulation and return a new object which same kind of input object.client call the webmethod passing the oject and another new object is taking the returned object.i used an xsd to generate the class for the object.
but the problem is in the client side the method displayed as void and taking a ref object.
how can i get a new object after passing another object.
|
|
|
|
|
I don't know what you have written in your class. But you should remember object should be serialized. If you can post here your few code like example then we can take more action on it.
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
Hi,
I have retrieved the data frm Sql and bind the data to a grid in one page. There is an item template column if checkbox to the same grid. I want the checked rows data to bind to grid in another page.
|
|
|
|
|
Hold all records temporarily in Table on first page and store into the session object. Then again populate it on second page from session.
Parwej Ahamad
g.parwez@gmail.com
|
|
|
|
|
Hi all,
quick question how do you center your components in asp.net on the html side of things. I've tried to work it out but am having no luck so go back to using normal HTML tables
Any advice welcome.
Thanks
PS I'm more on the development side of things then designer making things look good
|
|
|
|
|
Where are the add/delete button codes? I want to catch some errors there
|
|
|
|
|
|
What sort of answer is that?
|
|
|
|
|
eyeseetee wrote: What sort of answer is that?
A typical one from him.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
hopingToCode wrote: quick question how do you center your components in asp.net on the html side of things.
Surely HTML is just embedded in an aspx page. Are you struggling to aling a normal HMTL table in the middle of the page, is that query query?
|
|
|
|
|
a normal table in HTMLI can do, but if I wanted to center an asp label with out a table how would I do that? or a
label text box label combo box
on one line in the centre
|
|
|
|
|
generally its with a combination of width and margin or text-align styles.
This div will take up 300px and be centered horizontally.
<div style="width:300px;margin-left:auto;margin-right:auto">
Im in the centre
</div>
this div will be 100% wide but all the text will be centered
<div style="text-align:center">
Im in the centre
</div>
|
|
|
|
|
So I have to do it on a div I can't do it on the control
|
|
|
|
|
Div is the best way to do it.
|
|
|
|
|
|
A div is just an element, css styles can be applied to every type of element.
|
|
|
|
|
|
I want to develop a web application and I am not sure whether I should do it in DHTML or Silverlight.
I could use the rich UI capabilities of Silverlight, but on the other hand
Silverlight is heavy on the client and not many users installed it.
Are there any solutions or suggestions?
thanks alot!
|
|
|
|
|
If I were you I would just stick to using DHTML, as like you say not everyone has silverlight installed
Lloyd J. Atkinson
"Logic will get you from A to B, but imagination will take you everywhere" - ALbert Einstein
I look at Microsoft, and turn to my poster on the wall saying: "Bang head here in case of stress".
|
|
|
|