|
OK - so, you hide it by setting it's visibility. I'm not sure what the issue is.
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.
|
|
|
|
|
how we can hide a control of master page in run time.
One person's data is another person's program.
--J.Walia
|
|
|
|
|
Use .Master property. You can get MasterPage from this property and then use FindControl() method to cast Login View. Then you can make the control invisible.
|
|
|
|
|
J walia wrote: 1. Now my problem is to check on menu page is the user logined in or not??
Use Authentication Section in Web.Config. User will only be able to access menu.aspx if he/she is logged in.
J walia wrote: 2. if yes how to logout the user.
Use LoginStatus control, it shows a link which displays "Login" if user is not loggedin and "Logout" if user is loggedin. If used click on "Logout" he will be logged out.
J walia wrote: 3. how to give user access ??
I am not clear, what you want here.
J walia wrote: 4. how to hide login view control on master page on access.aspx page
After successful login, make it invisible and make it visible after logout.
|
|
|
|
|
Hi Coders,
I connected database server through Server explorer in dotnet3.5.I give Server IP/Username/Password and select database.It gives me "Test connection successfully" message but when i click over OK button it shows me error message "Key not for use in specified state".and i'm unable to create sql connection with server.Any help would be appreciated.
Thanks in advance
Amit Gautam
9953933396
|
|
|
|
|
Did you google the error message ? Can you connect with Management Studio ?
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.
|
|
|
|
|
Yes I did but its not related with my problem.
Amit Gautam
|
|
|
|
|
|
Hello one and all,
I need a small requirement. I am developing an application with calendar on my from. What i need is i would like to display the holidays on the particular day itself. Like on January 1st it should show New year and for December 25th Christmas like that. I write a code but it's displaying only for that year. How to make it count for every year. Please help...
Dorababu
|
|
|
|
|
|
By changing your code so that it checks every year and not just the current year.
Did you really expect a detailed answer on how to fix code you didn't bother to show us ?
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.
|
|
|
|
|
hii
i want to add shoping cart fuctionality to my website where login is compulsary to use the cart.
M workin on asp.net 2.0 using csharp.Can anybody help me regarding this.Is there any gud link which can guide me.thnk's...
|
|
|
|
|
|
It sounds like you don't have a clue what you're doing. You should consider buying an existing cart.
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.
|
|
|
|
|
hii i have got all the tutorial about creating the cart addind the product to cart etc......
but my problem is that i want all this thing after the user logs in...can u guide me.....
|
|
|
|
|
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
|
|
|
|