You can use the ASP.NET login control.
And you can configure this either by using the Configuration utility.
Or you can do this thing programatically. But this is the neatest solution for your problem. And It is one of the simplest too........
when the page is first loaded int he default.aspx(root) the images displays just find however when i log in to another user account and tries to navigate around the subfoler folder(/root/registor/abc.aspx) it will display that it cant find the img file
error:file not found
(p.s my subfolder also have an web.config of its own)
instead of looking for the file inside the root folder's image folder
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Can someone help me in finding Id of dynamically created webserver control like textbox, dropdownlist etc, when these server control placed in aspx page, but the aspx page is included in Master page.
Suppose dynamically created textbox textbox1 id changes to clt100_Main_textbox1
Please help in this regard.
Solution will be appreciated.
Database: SQL Server 2000
you r right, & I do same think in my application for all pages on which server controls are placed directly rather than created dynamically.
But for dynamically created ctrl (For now, I'll say only ctrl for dynamic server controls),
Textbox textbox1 = new TextBox1();
textbox1.Attributes.Add("OnMouseOver","FunTest("+ textbox1.ClientID + ")");
var a = document.getElementById(obj);
Can u help me in this regard
Database: SQL Server 2000
I try to make embedded WinForm in Web Application. I follow some step from this forum.
I have problem about this. I create ActiveX and put that object to webpage.aspx using CLSID. I can run im my computer, but can't run in client computer. Can you help me please?
This is the way how I expose the object:
<object id="webCamControl" classid="CLSID:6C6DD9C1-6900-45cb-842E-7284EFAAF2B2" codebase="WebCamCab.CAB" viewastext="">
I also try this way: (not show anything, just blank box)
<object id="webCamControl" classid="MyWebCam.dll#MyWebCam.WebCamCtl" viewastext="">
i want to create version string for a file.
like if first time I am adding file in Database then it's version will be 220.127.116.11 and later on when I will make new version of that existing file it will be 18.104.22.168 and so on.....
Hi, i want to display the values in the itemtemplate coloumn where i have placed a textbox. I want to make the textbox visible false and true based on the condition. I have tried the code from many sites but it didnt solve my problem. I can make the textbox visible false in design time but when i try to make it visible, they are not being displayed.
code to make visble true:
datagrid1.item.coloumns.visible = true;
plz help me to make the textboxes visible and to get the values from the database.