|
Is it user control or any other ?
Where have you written this code ?
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
this is written inside inline html,
no user control
Thanks in advance,
Priya.
|
|
|
|
|
pbm (assume that means problem) cud (could) be dat (that ) you hv (have) 'inlined' this in the default.aspx HTML and not in the about us/default.aspx. If wat (what) you want is this menu in all pages, look into Master Pages.
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
"This time yesterday, I still had 24 hours to meet the deadline I've just missed today."
|
|
|
|
|
hello evryone,
I have a doubt regarding PostBackURL.I take two form in the a ASP.NETWebApplication say Form1.aspx and Form2.aspx.When i redirect Form1 to Form2 the values in the Form1.aspx page r not maintaining like when again i come from Form2 to Form1 the values r not there(i mean the page is postback).
Is there any solution to maintain those values without using session,cookies,application and ViewState.Any canbody help me plz it is urgent for me.
ok byeee
Murali
|
|
|
|
|
Values won't be persisted, because you moved from Form1 to Form2.
ballameharmurali wrote: Is there any solution to maintain those values without using session,cookies,application and ViewState.
You can keep the values in Session. When posting the page to other ASPX page, you need to create session in other page (form2.aspx) and assign the values. If your Form1.aspx contains many controls, it's better to create a class and assign all the required values to class, and store the class object in session.
|
|
|
|
|
Whats the problem in using the state management in your application ,
surely you are not going to use database also ...
one thing could be creating xml file on fly and storing the inforamtion in it but o don't think it is good way of implimentation
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
use Server.Transfer() instead of Server.Redirect()
The Server.Transfer method also has a second parameter—"preserveForm". If you set this to True, using a statement such as Server.Transfer("WebForm2.aspx", True), the existing query string and any form variables will still be available to the page you are transferring to.
For example, if your WebForm1.aspx has a TextBox control called TextBox1 and you transferred to WebForm2.aspx with the preserveForm parameter set to True, you'd be able to retrieve the value of the original page TextBox control by referencing Request.Form("TextBox1").
use it .it may helpful to you ...
|
|
|
|
|
window.onbeforeunload=callThisFunction
window.onbeforedeactivate=dd1
function callThisFunction()
{
-------
}
function dd1()
{
-------
}
I am using this javascript function in asp.net under content place holder. I want that this function fired only Back, Forward and Close Browser Button. But this funciton fired on all button.
anybody please help me urgently
deepak_272@yahoo.com
|
|
|
|
|
Dude i have been saying from yesterday as the whenever you are going to press back,forward,any button and close page unload is going called thats why onbeforeunload event is called before unload event
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
i don't understand you tell me
|
|
|
|
|
First tell me what you have to do when user clicks this buttons ?
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
When user ckick back,forword and close button then display the message.
|
|
|
|
|
on browser back forword close or through any button
Piyush Vardhan Singh
|
|
|
|
|
p_vardhan14code@rediffmail.com
its my email id write that thing what u want to do in own language.
Piyush Vardhan Singh
|
|
|
|
|
Piyush Vardhan Singh wrote: p_vardhan14code@rediffmail.com
its my email id write that thing what u want to do in own language.
Spamming the board ?
|
|
|
|
|
I have already send my problem your emailid
|
|
|
|
|
Hi,
I have a string which contains xml tags, but C# is prsing all the tags and i don't want to parse that I want it exactly as it is, How can I do that.
Thanks & Regards
Mishra
|
|
|
|
|
Please could you elaborate the subject more a little
When it is parsing ? Are you getting any error ?
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
How it will parse untill you instruct it to do so ? Are you displaying XML tags on an ASPX page ? then <> symbols should be replaced with lt and gt
|
|
|
|
|
Hi,
My problem has solved.
Thanks & Regards
Mishra
|
|
|
|
|
How did you solve it? Share your solution pleae.
"More functions should disregard input values and just return 12. It would make life easier." - comment posted on WTF
"This time yesterday, I still had 24 hours to meet the deadline I've just missed today."
|
|
|
|
|
i have the following format
item1 dropdownlist counting(1 or 2 , it can be any no)
item2 dropdownlist counting
.
.
.
.
.
item10 dropdownlist counting
the serial no can go 2 any no.
dropdownlist contains data from the tables realated to the item
how should i implement this thing?
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
Sonia Gupta wrote: dropdownlist contains data from the tables realated to the item
You can bind data in datagrid_rowbound event.
like in this event you will get the value of first cell let us assume it is "item5" now you need to query you DB with that item, after that you can set data source for your dropdownlist.
Regards,
Sandeep Kumar.V
|
|
|
|
|
Ok i put the dropdownlist in gridview .Now i an selecting the particular itme in the dropdiwnlist, and accordingly the counting should be refreshed only in that row.i mean the items that are present in the dropdownlist has an indiivisual value for each item.so how i will be able to update a particular row to check the counting for particular item .i mean item1 contains ten produncts and each product has a indivisual counting.
Soniagupta1@yahoo.co.in
Yahoo Messenger Id = soniagupta1
|
|
|
|
|
Sonia Gupta wrote: Now i an selecting the particular itme in the dropdiwnlist, and accordingly the counting should be refreshed only in that row
You need to attach event handlers for this dropdown.
|
|
|
|