thanx, i will look at it ...
tina newcoder
Posts
-
How to add control/event to a 'text', just as we add hyperlink -
How to add control/event to a 'text', just as we add hyperlinkApurva Kaushal wrote:
Use LinkButton.
can you elaborate a bit more ... plz .... :)
-
How to add control/event to a 'text', just as we add hyperlinkI want to add an event to a text, just as we have hyperlinks, so that when the user clicks on that text, i want to perform some action in the code-behind. I want something similar to what is available here in this forum, u click the 'subject' text of this message, & you can read it ...
-
static ip addressPage.Request.UserHostAddress.ToString();
is this you was looking for ? -
sessionhow about
Session.Abondon();
-
Doubt about 'Session'Steve Westbrook wrote:
Try to replicate this issue in an empty web app
the code i shwon is of an empty web-app.
Steve Westbrook wrote:
server's configuration (machine.config)
how to fix it ?
Steve Westbrook wrote:
low session Timeout set,
i m not changing, so the default 20min shall be there...
Steve Westbrook wrote:
Session.Abandon()
na .. it is not the case. What is the result of 'that' code on your machine ? :confused:
-
Doubt about 'Session'I have tested that (posted) code for both IE 6.0 and Firefox 2.0 Both are showing similar behavior !!!! :confused: :confused: :confused: :confused: :confused: :confused: :confused:
-
Doubt about 'Session'na ... i am not storing any cookie ...!
-
Doubt about 'Session'my code,
protected void Page_Load(object sender, EventArgs e)
{
System.Windows.Forms.MessageBox.Show(Session.SessionID.ToString());
}The above code shows a message box with the current Session ID.
-
Doubt about 'Session'When a client is connected with the server, a session is assigned with that client uniquely, now a sessionID is stored as cookie on the client's system. Now, i m trying to check the value of this ID, as
Session.SessionID
but, each time the page is re-loaded, the ID changes .... ! Why does the ID change ? Is there anything wrong in my code, or the ID actually changes when the page is re-loaded ??? -
How do add controls from 'codebehind' ?Christian Graus wrote:
But, if your controls are added in page load or later, the event tree won't be built so the events will not fire.
Then, whats the solution ? where else in the code-behind the controls can be added ?
-
How to check session is created or not?BalasubramanianK wrote:
why it is not working with '=='
if you are comparing with a string, like
if(nameStr==Session["name"] ) ;
then, for that you need to first use ToString(). like this ...if(nameStr==Session["name"].ToString()) ;
Is these you were looking for ... ? -
How do add controls from 'codebehind' ?Sherin Iranimose wrote:
C# control_Name.Event_Name += new EventHandler(Function_Name);
Thanx
-
How do add controls from 'codebehind' ?thanx Sherin Iranimose How to add event handlers to these controls >
-
How do add controls from 'codebehind' ?I have a table, i m adding rows in this table through the code-behind (.cs file). Is there any way to add
asp:textbox
orasp:Button
in this table through the code-behind ??? The position (row no. in the table) depends on the data present in the xml file... :) -
Methods being added to web page, not codebehind.I think you are using HTML controls ... :cool:
-
How to set a TIMER ?Abhijit Jana wrote:
AJAX Timer Control
i am not able to find any example on
AJAX Timer Control
those present here on codeproject are too big and complicated ... Do you have any direct or simple example (or link) forAJAX Timer Control
??? :confused: -
How to set a TIMER ?I want to set a timer, in my web application. I am displaying some questions on a web page, i want to set a timer, such that, say after 120 seconds the can't answer the question (i want to disable the radio buttons). So, how can i set a timer ?
-
enduser cant go previous page using that back button in internet exploreri don't know how to disable 'back' button, but, I have a idea .... suppose, u have 10pages as 1.aspx,2,3,....9.aspx now the user moves from page 3.aspx to 4.aspx now, when the user arrives at 3.aspx, use
Session["pagenumber"]="3";
when the user navigates to page 4.aspx, change it asSession["pagenumber"]="4";
at the entry of each page (in the page load function) check this entry ! :) -
How to send an email ?i am going to sleep now. we'll talk tomorrow ... bye gn