|
Not sure if this will work, but you could try adding a web custom control to your project (essentially a class file) and inherit the user control you have created. This custom control will build down to a dll...
|
|
|
|
|
Thanks, but this is not working!
|
|
|
|
|
You can't do that. At least to my knowledge.
You need to create a Custom Control if you want your control build into a dll and be addable to the toolbox. Since custom controls are created in code, they can be built into a dll. User controls are files that contain HTML tags.
regards,
Mircea
Many people spend their life going to sleep when they’re not sleepy and waking up while they still are.
|
|
|
|
|
I search some code on the internet, and found same as you wrote. But I belive, I can solve easiest way web control tool creation...
Thank you for your replay!
I start create custom control....
Thanks again!
|
|
|
|
|
If you are using VS 2005, you can use the Web Project 2005[^] to create a reusable library for web user controls.
|
|
|
|
|
i planning to redevelop my company website which is in old asp...
i never use the Studio.net b4 and now even having problem to start a new project using microsoft studio.net.
I found out that Dreamweaver also can make asp.net which i can easy handle with the interface more easy... any one use it b4?? of is it better to use microsoft studio.net??? or macromedia dreamweave????
|
|
|
|
|
Visual studio, for all it's flaws is an excellent IDE for asp.net, but it is more code oriented, IMHO. If your website is much more layout and little code behind it, then you'd be better maybe with DreamWeaver.
however, if you can't get VS to open a new project for you, maybe you'd be better off investing the money in a few classes first... It's very different from the asp world
|
|
|
|
|
ya, i not sure y cant open the new project for it, since it said web access fail....?? do u know how to make my computer to server so that atleast i can test and do my asp...
|
|
|
|
|
|
|
do u have the resource for the old ASP not asp.net?? casue my company site still in old ASP.
anyone have ebook about how to use dreamweaver to create ASP website???
|
|
|
|
|
Hi Developers
Any good idea about XML Encryption and Decription?
Lets work it Out.........!
|
|
|
|
|
|
Hi,I want to implement case sensitive forms authentication
SQL database .Is it possible ?
If possible please help me.
i am using ASP.NET with C#.
|
|
|
|
|
Hi,
How do I use a validation control with the asp:FileUpload control to check that just gif and jpg files can be uploaded?
I got it like:
<asp:RegularExpressionValidator
id="FileUpLoadValidator" runat="server"
ErrorMessage="Upload Jpegs and Gifs only." ValidationExpression="^(([a-zA-Z] |(\\{2}\w+)\$?)(\\(\w[\w].*))(.jpg|.JPG|.gif|.GIF)$"
ControlToValidate="FileUpload1">
</asp:RegularExpressionValidator>
But how will I check for something else, like file size? I can do a manual check, but I want it to display in a validaton summary control. Can someone please advise me.
Regards,
ma se
|
|
|
|
|
From MSDN :
Security and the FileUpload Control
Using the FileUpload control, users can upload potentially malicious files, including script files and executable files. You cannot limit in advance the files that a user can upload. If you want to limit the types of files that a user can upload, you must examine the file characteristics (for example, the file name extension and the value of the file's ContentType property) after the file has been uploaded.
http://msdn2.microsoft.com/en-us/library/ms227677.aspx[^]
My Blog
|
|
|
|
|
Here is a post explaining the problems of uploading large file in asp.net 2.0
http://vikramlakhotia.com/Post.aspx?postID=7
Vikram
|
|
|
|
|
I want to build up the treeview whenever i click the button in collapsed form . On the first time when the tree view is rendered it shows in collapsed form but second time the tree is not rendered in collapsed form but a + sign
appears which i had to click it to collapse it
i had set ExpandDepth="3" in the treeview in design code of the tree view.
Can anyone heip me out in this. i want the tree in collapsed form everytime i click the button.
thanks .
|
|
|
|
|
treeView.CollapseAll();
resp. treeView.Nodes[index].ColapseAll()
|
|
|
|
|
How can we get the password of the windows in server side code of Asp.net.
I tried .Principle class, but it has none. Please help
|
|
|
|
|
|
I don't think you are able to do that. What are you trying to accomplish? Maybe there's some other way around that?
regards,
Mircea
Many people spend their life going to sleep when they’re not sleepy and waking up while they still are.
|
|
|
|
|
Thanks for your help.
Basically I am doing LDAP authetication. We have our ldap server. The authentication function wants windows user id and the password. We can get the password in http request, but for that we have to uncheck the Basic authentication checkbox in inetmgr(IIS) for the site. This does not encrypt the password. Is there any class for LDAP authentication.
|
|
|
|
|
Can only one please tell me how to get Year Scroll on ASP Calender Control???
Please help its very URGENT.
Thanks in Advance
|
|
|
|
|
i would format a table around the calendar and place two linkbuttons on either side add have them add/subtract years from the cal object selected date and the onclick of those buttons change the selected date for the cal... sound ok?
|
|
|
|