|
What is your actual problem?You are not so clear..
Cheers!!
Brij
|
|
|
|
|
fill the text in textbox in one control with the value of drop down in other control, on clicking the button in the control where the drop down located.
|
|
|
|
|
There are two ways to do:
Have a look
First
Second
Cheers!!
Brij
|
|
|
|
|
thanks for the link but doesnot help... i do have onclick event of button.
|
|
|
|
|
I am developing shopping cart. I want to know what is the way best to make cart ? I mean either DataSet or DataTable or something else and obviously session will be always there.
|
|
|
|
|
Its upto your requirement.You can use both.First grab the all the requirement accordingly you can decide what to use.
You can use datatable as dataset is bit heavy .Have a look
Cheers!!
Brij
|
|
|
|
|
Hi,
How to open a master page or normal page from a page which contain frame.
eg:
I have a master page with out frames and another page with 3 frames. When i click on a link in a frame, i need to go to the master page.
Thankyou
Yesuprakash
|
|
|
|
|
yesu prakash wrote: When i click on a link in a frame, i need to go to the master page.
What do you mean by this.Master is a kind of user control that resides on a page.I think you require to go to a page which is having a Master page set.
Am I right?
Can you bit detail?
Cheers!!
Brij
|
|
|
|
|
yes..i require to go to a page which is having a Master page set. When i give a link from a page in frame, the remaining frame is still visible..
|
|
|
|
|
Hi ,
I am an Asp.net programmer,can any one give some good books about
Search Engine Optimization(SEO).
Thanks
Denny
|
|
|
|
|
Goto amazon.com. Search for search engine optimization[^]. Read the user reviews and check the ratings each book got. Once you got a decent one, go and purchase it.
This is what I used to do whenever I need a book.
|
|
|
|
|
|
After learning seo online for 1 month, i believe seo is not hard to learn. If you want to learn SEO you have to first understand what is SEO.What is basic need of SEO.
Now a days lots of websites available for learn SEO. U can use SEO e books and learn SEO . Morever what you can do is, use a SEO forums and talk to people it's the best advice!
Learn SEO
|
|
|
|
|
I have a javascript method named function onOk() and a code behind c# method public viod messege(). I want to access messege() from onOk().
Please...........
shahdat
|
|
|
|
|
You can use AJAX[^] and send request to server from JS.
|
|
|
|
|
I suggest you buy a book on ASP.NET and read it. Once you understand the seperation between client and server, buy a good book on AJAX, and read that. AJAX is how your client can contact the server and grab information it returns.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
hi,
i have a problem why is it that the updatepanel doesn't work on nested gridview or maybe i've just got a wrong code here.
the problem is whenever i click edit linkbutton of gridview2,
it will go back to gridview1, instead it should open the edittemplate of gridview2.
1.ScriptManager<br />
a.UpdatePanel<br />
:gridview1 ->nested to gridview2<br />
:gridview2
block of code:
<asp:ScriptManager ID="ScriptManager1"
runat="server" AsyncPostBackTimeout="360000">
</asp:ScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate >
<asp:GridView ID="gridview1" runat="server">
<Columns>
<asp:TemplateField>
<ItemTemplate>
<asp:Label ID="lblHachoNum" runat="server"
Text='<%# Bind("Hacho")%>' ></asp:Label>
</ItemTemplate>
<EditItemTemplate>
<asp:Label ID="lblHachoNum" runat="server"
Text='<%# Eval("Hacho") %>'></asp:Label>
</EditItemTemplate>
</asp:TemplateField>
<asp:TemplateField>
<ItemTemplate>
<asp:GridView ID="gridview2" runat="server">
<Columns>
<asp:TemplateField >
<ItemTemplate>
<asp:Label ID="lblKubunNum" runat="server"
Text='<%# Eval("Kubun") %'
></asp:Label>
</ItemTemplate>
<EditItemTemplate>
<asp:Label ID="lblKubunNum" runat="server"
Text='<%# Eval("Kubun") %'
></asp:Label>
</EditItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
</ContentTemplate>
<Triggers>
<asp:AsyncPostBackTrigger ControlID ="ddlUser"
EventName ="SelectedIndexChanged"/>
</Triggers>
</asp:UpdatePanel>
C# コードMicrosoft End User
2000-2008
「「「「「「「「「「「「「「「「「「「「「「「「「「「「
The best things in life are free
」」」」」」」」」」」」」」」」」」」」」」」」」」」」
|
|
|
|
|
Hi,
There are two textboxes and one button control in a Web page. We change the setting as ViewstateEnabled=False to both the textboxes. In button click event we have written the code to display TextBox1 value in TextBox2.
The value is displaying in TextBox2 as well as it didn't remove from TextBox1 also even if both the textboxes ViewstateEnabled=False. What is the reason? Please answer.
Thanks in advance
|
|
|
|
|
Please buy a basic book on ASP.NET and read it before asking all these questions.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Elena2006 wrote: The value is displaying in TextBox2 as well as it didn't remove from TextBox1 also even if both the textboxes ViewstateEnabled=False. What is the reason?
Well, the value you are seeing in text box are not loaded from viewstate . It will be loaded from the post back data. When you press the button, all the control values in the form will be send to server. When page renders, ASP.NET is capable to assign the values back to each controls correctly.
To see viewstate in action here, consider changing some properties of text box in page_load event. When viewstate is disabled for text box, you can see the changed property details are not persisting across post backs.
|
|
|
|
|
For the answer, first of all you need to know what actually happened during ASP.NET Page life cycle and ViewState.
In the ASP.Net page life cycle, two events related with View State.
1. Load View State : Where view state data is loading for the control and which happened before Page_Load.
2. Save View State : Where control data store in a hidden field before the Page_Render .
Now, If you disable the ViewState for the control it should store the view state data but, you are saying in Textbox, after you disabled the view state , control holds the data after postback,
Here is the Trick,
There is another event fired during Page Life Cycle, which is, Load PostBack Data
ASP.NET controls which implement IPostBackEventHandler will load its value from the appropriate postback data.
This value is not read from view state but from Postback From and this is true for those control which implements the IPostBackEventHandler
and TextBox is one such control Wink
Hope this clears your doubts and This will helps you.
cheers,
Abhijit
CodeProject MVP
Web Site:abhijitjana.net
When you ask a question, remember to click "Good Answer", If the Answer is helps you.
|
|
|
|
|
Hi
What is the difference between ASP session and ASP.NET session and how we use ASP session in ASP.NET page?
Thanks in advance
|
|
|
|
|
One is in ASP and one is in ASP.NET. You can't. You need to create some sort of intermediary, probably a windows service, to pass values between ASP and ASP.NET.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Elena2006 wrote: how we use ASP session in ASP.NET pag
MSDN has an article[^] on this.
|
|
|
|
|