|
mylogics wrote: but my problem is that i want all this thing after the user logs in...can u guide me.....
Well, in that case, read up on either the login control, or on the session and write your own login control.
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.
|
|
|
|
|
|
sir
please give me suggestion
i want to display my records from dataset to textboxes.and these textboxes are in gridview footer template.
how can we bind or what ever the solution .
please help me.
|
|
|
|
|
Why do they need to be in the footer ? Why do you need to use a gridview ? A repeater gives you more control. Putting them under your gridview may work even better. Is the data one record, or many ?
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 to All,
Sorry if it is a basic question.........
Since I am a new learner to ASP.NET..I am not able find the exact differrence in terms of functionality with
server control
client control
html server control
web server controls
I want to know, when to use what....Please clarify me. If Possible , practical scenario and examples would be great....
Thanks in advance
-----------------------------
I am a beginner
|
|
|
|
|
In fact, there is no definition, the terms you're using make no sense. All controls render on the client, although perhaps it means ASP.NET controls vs pure HTML controls ? I guarentee you there is no such thing as a HTML server control or web server control. Someone is pulling your leg.
Buy a book. If you have half a clue what words like server, client and HTML mean, then you won't be the butt of any practical jokes.
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.
|
|
|
|
|
hrishiS wrote: html server control
It is either server controls or html controls.
|
|
|
|
|
I bet it's his first day on the job, and like most outsourcers, he has no skills and was given the CP URL to help do his job. But I am guessing that the other guys are playing a practical joke on him.
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.
|
|
|
|
|
I agree.
|
|
|
|
|
hi sir
can i bind my gridview footer template textbox to dataset column.
if yes then how. i am trying this.
<asp:templatefield>
<headertemplate>
<asp:label id="L2" runat="server" text="Description">
from here item template begin
<asp:label id="L9" runat="server" text="Label">
and here it was end
from here footer template begin
<asp:textbox id="T2" runat="server" text="<%#Bind("Product_Description") %>">
and here it was end
Product_description is column from dataset from where the value will come.
modified on Friday, October 23, 2009 4:02 AM
|
|
|
|
|
Hi to All,
I am a beginner to Web designing....I am going to use asp.NET with ASP.NET Ajax toolkit...(Just came to know that ASP.NET Ajax is awesome)...
I need some advice before I start my Project....Could you please advice me, so that I can take care of certain things, before i start...
1. I had worked on vs2005 little bit......I want to know should I go ahead with 2005 only, or should I try vs2008..
2. Since, I am going to use asp.net ajax controls ...So in that case, I can see 2 version of it....One 1.0 for vs2005....another is 3.0 for vs2008...I am just bit confuse, the two versions are just to support version of vs....Or , in 3.0 will I have some additional feature?....
3. If there is any other Open Source AJAX control for ASP.NET , Please do let me know...
If there is lots advantage of using vs2008 with ajax 3.0 i can go ahead with it...otherwise i want to stick on to the vs2005 , which i am familiar with.
Please advice me...
-----------------------------
I am a beginner
|
|
|
|
|
Better go ahead with VS 2008 where Ajax controls are inbuilt. You don't need to install Ajax toolkit separately if you are using VS 2008. The features also, I believe that it is better in VS 2008.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
hrishiS wrote: (Just came to know that ASP.NET Ajax is awesome)...
Yes, it does some cool things, but unless you understand how it does them, you'll find it difficult to use, or at least, to make do the things you want.
hrishiS wrote: Or , in 3.0 will I have some additional feature?....
The higher number (3.0 vs 1.0 ) is a subtle clue here...
hrishiS wrote: If there is any other Open Source AJAX control for ASP.NET , Please do let me know...
There's plenty. Even better, AJAX is just a ton of javascript, which you're free to learn and impliment yourself any way you like.
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.
|
|
|
|
|
You should go with the .net3.5 bcoz there is inbuilt ajax n linq topics which provide u a great help.
this is my personal exp.
|
|
|
|
|
Hi,
We are building an ASP.NET application and in that we need to display Student’s information in a Grid.
Now our requirement is that we need to do Add, Delete, Edit and also Rows REORDER (by Dragging and Dropping rows) student’s records through that Grid.
Is it possible (All 4 functionalities mentioned above)? If so would you please let me know any reference link/tutorial?
Many Thanks,
Regards.
modified on Friday, October 23, 2009 2:41 AM
|
|
|
|
|
Yes, it's pretty easy. There's events for adding, deleting, editing and sorting. It's all in the documentation. The GridView is the class you need to use.
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 all the lovely people out there,
I am just a beginner in Asp.net.
I have a page which has a login link.
When i click the login link it pops up a small window where he can login.
But after successful login I do not know how to refresh the original page and change the login label to logout.
Can you guys help me out?
|
|
|
|
|
You can write javascript in a popup page to refer to the original page and call methods in it. I used google and quickly found this[^]
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.
|
|
|
|
|
Thanks Man for your time.
Also, can AJAX capable of doing such stuffs.
|
|
|
|
|
xbiplav wrote: Also, can AJAX capable of doing such stuffs.
No, of course not. Not without doing it in a convoluted and wasteful way. AJAX lets a page ask the server for data without doing a full refresh. You'd have to have both pages polling with AJAX to find out if the event had occured. That would be a total waste of time.
Just because something is sexy for the moment in the dev world, does not mean you should invent ways to use it when it's the wrong tool for the job. The ASP.NET AJAX library DOES do some stuff that has NOTHING to do with AJAX, so it may have something that will help you, but only because it's become the home of any sort of javascript coolness that MS can come up with.
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.
|
|
|
|
|
Thank you once again.
Also i want to ask you one last thing and I am sorry for my ignorance.
My question is that, like in windows programming we can change the state of Form1 from Form2 by creating objects and passing messages.
Similarly like in web, is it possible like we create an object of WebForm1, then pass this instance to WebForm2 and if we want to change an object's state of WebForm1(lets say a label text in WebForm1 to something) can we use that instance of Webform1 (from Webform2) and do that?
|
|
|
|
|
No, you can't. The web is stateless. Every postback creates a new instance of that page class, which is then destroyed when the page is sent. webform1 does NOT exist if it's not visible. There's nothing to interact with. You pass values between pages by putting them on the URL or storing them in the session. The URL way is far better, it creates pages that rebuild themselves and can be bookmarked, and does not use server resources. Sometimes, you do need to use the session tho.
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.
|
|
|
|
|
Thank u man. U seem to have good knowledge of web technology. I appreciate your time.
|
|
|
|
|
Glad to help It's customary if the answers helped to mark them with the 'good answer' button or the '5'.
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.
|
|
|
|