|
hi there,
you can look at AUTHORIZATION section in web.config file...more info here
<< >>
|
|
|
|
|
enjoycrack wrote: look at AUTHORIZATION section in web.config file..
His query is not user specific he want to show one page to all users without athentication .
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... "
|
|
|
|
|
if so, just put the page to somewhere that no need authenticate when browsing this...
<< >>
|
|
|
|
|
So what is your question? more specific...
<< >>
|
|
|
|
|
ya..I know that is what you need...but I really dont know where you are stuck on...Do you know how to bind a datagrid with dropdown box? or .....
<< >>
|
|
|
|
|
i have problem i want display data in this manner which i show below
this type of data come through daatbase .so how i do this thing ?
plz reply !!the node show some data and photo and its also a link
plz help me?
a
/ \
b c
| |
d f
| |
g h
deepak chandra
|
|
|
|
|
How do you hope to do it ? I mean, if it's a web app, your options are limited unless you look into WPF/E or Flash, or generating a bitmap or something.
Christian Graus - Microsoft MVP - C++
Metal Musings - Rex and my new metal blog
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
ya it's a web application
so no alternative of it??
deepak chandra
|
|
|
|
|
Don't reply to your own post
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... "
|
|
|
|
|
The same Post i say it yestrday. BTW why are you creating the new Post today.
Regards,
Satips.
|
|
|
|
|
Hi all,
I've one web service which runs for somewhat long time. It processes
records and then sends mail in a loop.
When I stop WWW service or IIS, the loop continues to execute. I want to stop
this processing.
Is there anyway to check iis status or break execution.
I am using .net 1.
Can i make web service to execute under IIS?
can i use servicecontroller class?
Also is there any way to findout application_end event?. Does it occur?
Thanks in advance.
rahul
|
|
|
|
|
nO REPLY YET ??????
rahul
|
|
|
|
|
Hi
I have used the following code in the pageindexchanging eventhandler,but the event is not fired.Has set the AllowPaging as true.still the same problem
FormView1.PageIndex = e.NewPageIndex;<br />
BindMessages();
please help
|
|
|
|
|
try with this taken from MSDN
<br />
<asp:FormView ID="ProductsFormView"<br />
DataSourceID="ProductsSqlDataSource"<br />
AllowPaging="true"<br />
runat="server"><br />
<br />
<HeaderStyle forecolor="white" backcolor="Blue" /> <br />
<br />
<ItemTemplate><br />
<table><br />
<tr><br />
<td align=right>Product ID:</td><br />
<td><asp:Label id="ProductIDLabel" runat="server" Text='<%# Eval("ProductID") %>' /></td><br />
</tr><br />
<tr><br />
<td align=right>Product Name:</td><br />
<td><asp:Label id="ProductNameLabel" runat="server" Text='<%# Eval("ProductName") %>' /></td><br />
</tr><br />
<tr><br />
<td align=right>Category ID:</td><br />
<td><asp:Label id="CategoryIDLabel" runat="server" Text='<%# Eval("CategoryID") %>' /></td><br />
</tr><br />
<tr><br />
<td align=right>Quantity Per Unit:</td><br />
<td><asp:Label id="QuantityPerUnitLabel" runat="server" Text='<%# Eval("QuantityPerUnit") %>' /></td><br />
</tr><br />
<tr><br />
<td align=right>Unit Price:</td><br />
<td><asp:Label id="UnitPriceLabel" runat="server" Text='<%# Eval("UnitPrice") %>' /></td><br />
</tr><br />
</table> <br />
</ItemTemplate><br />
<br />
<PagerTemplate><br />
<table><br />
<tr><br />
<td><asp:LinkButton ID="FirstButton" CommandName="Page" CommandArgument="First" Text="<<" RunAt="server"/></td><br />
<td><asp:LinkButton ID="PrevButton" CommandName="Page" CommandArgument="Prev" Text="<" RunAt="server"/></td><br />
<td><asp:LinkButton ID="NextButton" CommandName="Page" CommandArgument="Next" Text=">" RunAt="server"/></td><br />
<td><asp:LinkButton ID="LastButton" CommandName="Page" CommandArgument="Last" Text=">>" RunAt="server"/></td><br />
</tr><br />
</table><br />
</PagerTemplate><br />
<br />
</asp:FormView><br />
<br />
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 clicking on submit button of form1 i am displaying form2.after 10 seconds i want to redirect that page to form1 .how can i do that?
|
|
|
|
|
anujose wrote: when clicking on submit button of form1 i am displaying form2
OK
anujose wrote: after 10 seconds i want to redirect that page to form1 .how can i do that?
Means After 10 sec automatically form1 should be display .
Use Timer object for yhe purpose present in the System.Threading namespace
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... "
|
|
|
|
|
anujose wrote: after 10 seconds i want to redirect that page to form1
For this, you can use window.setTimeout (...) js method...Check this to get idea on time out event
<< >>
|
|
|
|
|
On the standard asp.net calendar control how can I pick up the fact that the selected date has been clicked? I have created a user control that displays the calendar control within a panel when a button is clicked. When the selection is changed the panel is hidden. Works ace except that if the currently selected date is clicked I also want to disappear the panel. Clicking on the selected date doesn’t disappear the thing, and I can’t find another event to trap the click on the calendar. Can anyone help? Its driving me crazy. The user can close the calendar by clicking the button again, but I know my users and there will be much complaining about it not disappearing when they select the same day, and I would kinda agree with them too! thanks in advance
Cheers
Ian
|
|
|
|
|
Hi,
As part of a project, I need to create a custom ASP .NET control that outputs a few lines of HTML including Javascript on to the page. I searched the internet and followed a few tutorials such as this one:
http://blogs.msdn.com/coding4fun/archive/2007/05/05/2429765.aspx
I tried following the instructions and the code compiles OK, but when it loads in the browser I get an error. It states that the tag is an unknown server tag. This is despite the fact that the class's code file is in the App_Code folder and the namespace matches the one in the web.config file.
I also tried other tutorials that involved putting the control in a class library. I couldn't get that to work either. If I try to add a reference to the DLL, it does it on the local machine and not the server.
I'm using Visual Web Developer, although I also bought Visual Studio 2005 Standard recently. I am connecting to a remote web server using FTP.
Does anybody have any suggestions? Any help would really be appreciated.
Thanks,
James
|
|
|
|
|
Are you registering the custom tag on the top of ASPX page ?
|
|
|
|
|
Hi,
Yes, I have tried using the following within the relevant page:
<br />
<%@ Register TagPrefix="cust" Namespace="myControls" %><br />
I also tried modifying the Web.config file like so:
<br />
<pages><br />
<br />
<controls><br />
<br />
<add tagPrefix="cust" namespace="myControls"/><br />
<br />
</controls><br />
<br />
</pages><br />
myControls matches the namespace containing the control. The author of the article suggests that doing either of these should be enough. Intellisense correctly recognises the tag and the pages compile OK. But I get the error I mentioned in the first post. I suspect that the code compiled for the control is not being sent to the server for some reason.
|
|
|
|
|
Try this
<%@Register TagPrefix="YourTagPrefix" TagName="TagName" src="~/YourControl.ascx"%>
|
|
|
|
|
jkp2505 wrote: <%@ Register TagPrefix="cust" Namespace="myControls" %>
try with Assembly name and src (source file)
Also How you are adding it your aspx page ?
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... "
|
|
|
|
|
Hi,
Thank you for the replies. I am having trouble understanding the difference between a user control and a custom control. The article I mentioned is about custom controls, inheriting from the WebControl class. The user control is a different thing, and I'm not sure if it can do what I need. The control will need to output Javascript, but dynamically setting the contents of a script tag is difficult because ASP .NET seems to try to interpret the code as C# code, even with the type set to "text/javascript".
@Navaneeth:
It seems I can't use the src attribute because it doesn't seem to work for custom web controls, only user controls.
@Sandeep:
The control is in a CS file in the App_Code directory, so it's not within an assembly. According to the article this should be OK.
|
|
|
|