|
Hi,
I can't find a tutorial how to make server controls (if that is what I need to learn?).....
I want a control, which I can use on several projects (I can drag'n'drop from the toolbox).
The control I want, shoul be a web-based admin tool (to update users, delete users, create groups and so on) to the login control....
I tried for the past few days to look after such a control....but couldn't find it so now I want to build my own.....
But now I need a tutorial that explains me how to make such a control. Can anybody please help me?
Kind regards,
simsen
|
|
|
|
|
Try to use Web Control ...(ascx File)...
|
|
|
|
|
Hi Abhijit,
Thanks for answering me
I don't know anything in creating controls only to use them......
Is a Web Control a user control (I have read that to use user controls in several solutions I have to implement the hole code in each solutions - this I don't want to do, I want a control which I can drag'n'drop from my toolbox whatever solution I am using)?
If I can this with a web control - do you have any links to an tutorial where it shows how to......witch database functionality?
Kind regards,
simsen
|
|
|
|
|
Just tell me what type of control do you want to create ?
|
|
|
|
|
I want a control that:
List all the users that is added when I use the buildin control login. It could be in a gridview (it doesn't matter what for me).... It should be possible to delete a certain user or to add a new user or to modify a user.
It is like - I want a web based control that adds the same functionality as you can get if you use the ASP.NET configuration in VS2005.
When I then drag'n'drop the control to a solution there should be a way to tell which database it is and so on.....
|
|
|
|
|
I forgot to say, that I need the tutorial in C#......I'm not good enough to translate it from VB.NET
|
|
|
|
|
Hi,
I have a web application on a Windows XP box (IIS 5.1) which connects to SQL Server on a Windows 2003 box. I have Windows integrated security activated in IIS which is local. When I run my web application through browser it gives me the error: Login failed for user(null). Not a valid SQL Server connection. If I run the same Web app through VS 2005 it connects properly to the remote SQL Server database. Incidentally I log into my XP box in a global domain with a user credential who is having administrative privileges.
What is going wrong and what corrective action needs to be taken.
P.s. - This error has started creeping after I re-registered ASP.NET 2.0 in IIS using the aspnet_regiis utility as my IIS metabase had got corrupted. But I am not getting any clue as to why this should affect my SQL Server connectivity.
Thanx in advance
|
|
|
|
|
The machine where the sql sever is installed , there u gave the user name and password (unlike the window authentication)for ur sql server, Now check out ur connectionstring.I think , u did not mention the user name and passwod there.
and on more thing , I think , the window authentication mode on the machine where the vs.net is installed has nothing to do withe the sql server(on another machine). so write the connectiionstring , keeping in mind the configuration of that machine where the sql server is installed.)
If you have an apple & I have an apple and we exchange our apples, then each of us will still have only one apple but if you have an idea & I have an idea and we exchange our ideas, then each of us will have two ideas!
|
|
|
|
|
Hi everybody, recently i have big problem of software development
i have needed you,my Question is that.
- How to call Dot net Web-Services in php/Java ?
from lucky.
|
|
|
|
|
There isn't anything particularly special about the webservices being done in .Net. You call them from your php/Java code the same way you call any other webservice.
|
|
|
|
|
i want to create a tree view but i have a problem in lines ****. what should i do? dose any body know?
TreeNode nodeProdDetail, nodeProdMaster;
nodeProdMaster = new TreeNode();
nodeProdMaster.Text = "Master1";
nodeProdMaster.Value = "1";
nodeProdDetail = new TreeNode();
nodeProdDetail.Text = "Detail1";
nodeProdDetail.Value = "1.1";
nodeProdDetail.NavigateUrl = "SomePage.aspx";
nodeProdMaster.Nodes.Add(nodeProdDetail); ****
TreeMenu.Nodes.Add(nodeProdMaster);
nodeProdMaster.Target = "main";
nodeProdMaster = new TreeNode();
nodeProdMaster.Text = "Master2";
nodeProdMaster.Value = "2";
nodeProdDetail = new TreeNode();
nodeProdDetail.Text = "Detail2";
nodeProdDetail.Value = "2.1";
nodeProdDetail.NavigateUrl = "SomeOtherPage.aspx";
nodeProdMaster.Nodes.Add(nodeProdDetail);****
TreeMenu.Nodes.Add(nodeProdMaster);
|
|
|
|
|
perhaps u shuld use it nodeProdMaster.Add(nodeProdDetail) because nodeProdMaster.Nodes is null yet.
sepel
|
|
|
|
|
Flash File working fine in FF... but not working in IE.Any sugession will be helpful...
Thanks in Advance...
Erasers are for people who are willing to correct their mistakes.
|
|
|
|
|
Maybe you have an issue with the flash plugin in IE? Maybe it isn't installed in IE?
|
|
|
|
|
hi,
i need help in linklabel control.actualy i wann a add linklabel control at runtime in web control library project.if i write this.controls.add(lnklabel) thn it will add bt i m using GDI+ to draw chart so i m nt getting hw to add link label in tht.
plz kindly reply me.
|
|
|
|
|
hi all.
i want draw my answer sheet result in a web page.
if there any way to draw it on a portion of page (for example a panel)?
i want to show it in side other information not in a empty page?
sepel
|
|
|
|
|
I am using ItemDataBound event to add a Link button to a column using following code
LinkButton temp = new LinkButton();
temp.Click += new EventHandler(xyz);
temp.ID = e.Item.Cells[i].Text;
temp.CommandArgument = e.Item.Cells[i].Text;
temp.Text = e.Item.Cells[i].Text;
now when page is displayed i see these buttons but when i click on them, page is refreshed but Click event is not raised. how can i see which event control and which event is raised when i am clicking this link.
Regards
Shajeel
|
|
|
|
|
when u click it only page_load raised.
i think that you'r plused event is null or empty.
if u add your event in page load each time there will be right.
sepel
|
|
|
|
|
no its not null, i have a break point int the function but it is not fired.
Regards
Shajeel
|
|
|
|
|
yes it raised but only page load is raised itrace some problem.
i add javascript to my buttons.
i hope u siolve it.
sepel
|
|
|
|
|
but i want to raise event for function xyz. post back is working but my code is in xyz.
Regards
Shajeel
|
|
|
|
|
i am using asp.net1.1 version...,
Using ajax how to pass a form contained values to another page?,
Thanks & Regards,
Mageshh,
please don't forget to vote on the post
|
|
|
|
|
hi i am trying to retrieve the login name programically in c sharp.net
currently i am using
formauthentication.redirectfromloginpage("username",false);
to login
i tryed to use the login view to retrieve the login name and it appear correct with the username: username
however i need to store the username in an variable for programming reasons any one know how this can be done?
|
|
|
|
|
User.Identity.Name will give you the name of the logged-in user.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
iam getting the data from database into the dataset and this iam assingn to the datatable but the dataset is containing one row with multiple columns how this data to be converted to one datacolumn with multiple data rows
|
|
|
|