|
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.
|
|
|
|
|
|
Hi,
How we access files exists in different server other than the application server without using any services, in our .NET application?
Thanks in advance
|
|
|
|
|
If the server is not on your network, you can't, unless they offer a webservice to do it through, or a VPN.
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,
There is the requirement to give security to web.config file. How it is possible?
Thanks in advance
|
|
|
|
|
Yes. Make your server secure. Beyond that, what do you hope to do ?
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.
|
|
|
|
|
Are you human or a bot? All 3 replies by you are at same time.
|
|
|
|
|
It's not hard to churn out replies to people asking basic questions and doing no research
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,
Suppose for a running website I modified the web.config file. So what will happen to the user those already using the application.
Thanks in advance
|
|
|
|
|
Buy a book. Bloody hell.
You could also try it and see.
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.
|
|
|
|
|
When you modify web.config , ASP.NET worker process will recycle and it will kill all active sessions. As CG said, you need a book.
|
|
|
|
|
It will kill all your session/application object and session timeout will there...
If the message is useful for U then please Rate This message...
Be a good listener...Because Opprtunity knoughts softly...N-Joy
|
|
|
|
|
This is a WebForm application
I have created an app that binds (onItemDataBound) 3 textboxes in a datalist, Quantity, Rate and Total. The user enters the quantity and the rate, upon leaving the rate field the program needs to compute the total. Is there an event available in WebForms that will recognize that the cursor has left the Rate textbox, so I can compute the total and display it in the Total Textbox on that row.
I know how to get the data in and out during pre & post processing I just don't know what event is called when leaving the textbox.
Thanks, Chuck..
|
|
|
|
|
well there are 2 things you do
set for your Rate Textbox the next statements
- AutoPostBack="true"
- OnTextChanged="txtRate_OnTextChanged"
Create in the code behind the next eventhandler:
protected void txtRate_OnTextChanged(Object sender, EventArgs e)
{
// place your code here
}
In Word you can only store 2 bytes. That is why I use Writer.
|
|
|
|