I'm interested on some of your questions:

1) use this: Server.Transfer("NextPage.aspx");

2) Depend on your usage. Simply named it (e.g: Button1, Button2) and
you can identify the control position by the name. You also can check
the UniqueID. It is the rendered html ID, from that you can know the
control hierarchy.

4) In general, when page load, just get the rate directly from other
domain that can provide accurate/working rate.

5) Good question, i just thinking how it can be performed. The real
usage is when user update a panel, we need to add unique query string
to it so that server and user can track the current place (e.g: user
might need to save in bookmark, server can just load the panel to
specific page rather need to reset to the initial page).

The real example is like in the wikimapia. Each time we drag the map
left/right/up/down or zoom in/out, the latitude, longitude and
altitude in query string will changed. Later on, when I bookmark, I
can retrieve the location that I saved already. I also can use back/
forward button to go to previous location. In server point of view, it
can remain the location when user change the view from Map to
Satellite, when user successfully login or when user want to switch to
beta version. There are few method for server in ASP.NET but I think
this is the suitable for this situation.

I think, you can try to use AJAX.NET (or just JavaScript) code to
change the URL (query string) during partial page load (page request
manager - end request event).

Good luck.


On May 6, 3:32 am, Rui <[email protected]> wrote:
> Very basic stuff,, they don't intend to be very specific questions, so
> if you think they are, then it means i'm probably trying to solve a
> general issue in a non-standard way without realising :D, so feel free
> to point me straight to what matters :P
>
> 1) How can I design the webpage the user sees after a postback with
> html and or the design view? Example, he clicks a button, submits
> stuff, so now i want another thing to appear,,, All I can do is code
> in C#/VB for the objects that would then render into the html code?
>
> 2) in any case, how does .net know when 2 controls (excuse me if i
> misuse the words :D ) are siblings, who goes first? for example, if i
> wanted a panel to have 2 whatevers inside
>
> 3) Where can I find a reference of only the most useful (or at least
> sorted by relevance) classes in the .net framework for web
> development? I'm getting kinda lost and overdosed with the msdn help,
> hehehe
>
> 4) I would like the server to have in a database a more or less
> updated value of some currency exchange rates. Main question is...
> should i place in the global.asax a code to get it, and a timer to
> repeat every X hours? or there's some better way with a windows
> service to schedule the task? and if so, can it happen in a shared
> server?
> secondary question: to get the html of a site, as text, its like
> opening a file but with the url instead of the name? any better way?
>
> 5) In the most standard logical way to code a website with asp.net,
> the url stays the same between postbacks? Is there any way, for
> example, to code a site with partial refreshing (ajax i guess,
> updatepanels, blah) in which each page has a different url?
>
> thankss
> promise i'll help you all when i have the knowledge :)

Reply via email to