Basically I want to be able to create a user control that is more or less just a Panel. I want to be able to set properties like background color, border, etc by default within the user control and then do something like <mynamespace:mypanel>Text and stuff to go in the Panel</mynamespace:mypanel>.
I would like to be able to put links, tables, and any other kind of HTML stuff inside the Panel. What property of my class/user control would the text part be? Am I going about this the entirely wrong way?
All I really want to do is to be able to set some properties of my Panel automatically without having to type each property over and over again every time I create a Panel.
I want to control the user name which is loggin into the application. Once the user is logged in, the username should be saved through out the system until the user logged out.
For that matter, how can i keep the user name? Should i use cookie or session? How is the difference and which is better?
I have one userControl containing some static HTML (div/tables) all havind unique id's and i want to collect them within one array in the Code Behind file, how would i do this through a foreach or for statement counting the items, i searched the framework, google and SP but i still haven't figured it out
I am trying to add a basic user control to a web site; coming from visual studio 2003 this was extremely easy. I would just add the user control and then add the controls that I want on that user control, but I am not able to get a basic link button to click.This seems so ridiculously basic, but I am not able to get this to work.What am I missing?
I have built dynamic HTMLTable. Now I want to attach it directly to the Email Body - it is already built, so why not to use a ready table. However, I cannot find the way of getting plain HTML text out of dynamically built control. I tried to put my table between div and read div.innerHTML then - HTTP exception has been thrown.
What I want to be able to do is create a user control that will display an entire page page within it. Does anyone know how to do this or better yet have any same code?
When the user clicks on a hyper link to save the text file, the browser opens the file in a new window. Is there any way of prompting the user to save the file onto their computer?
Isn't there some line of code that I can write to tell ASP to treat everything between BLAH and /BLAH as text (including the apostrophe). So that users can type a name of "O'Malley" in a form and I can retrieve it and store it in my database.
I have written an ASP.NET 2.0 application that uses Active Directory or ADAM to manage account users - the site has a page that allows people to create an account (much like any site). The page populates the AD with all the information and the user account but I am unable to enable the account. Microsoft has information on how to do that here --> http://msdn.microsoft.com/library/d...ting_a_user.asp (the sample is for Visual Basic) - and I am unable to complete the bottom portion of the script. Can some one point me in the right direction - or can you tell me how I can add a snippet of VBscript code to an ASP.NET page.
I am using the Active DS Type library - not sure why there are multiple ones (System.DirectoryServices) but it is rather confusing - I seem to accomplish one thing with one and another with the other (they did have trouble co-existing however). Anyway my script works very well but I am not able to access the properties required to enable the account.
Here is a simple version (no error checking) of the code.....
how to go about setting up an asp script or flash action script to take the input from a user of his/her username and password then send an email to the user with the information. I am able to do all of this but the problem is that the users pc is the one sending the email. I want the server to send the email instead.
I have this problem in controlling a the text in a Text Area. How can I do that for example the field size is 200, when it reaches 50 it automatically goes to the next line. Bcoz im having problem when viewing it in my report, it continuesly views in a strieght line and im having problem in printing.
I am using VBScript for ASP. The control value must be case sensitive? The following example should print the "fname" value, but if if I change "submit" back to "SUBMIT". Then it works fine.
<% If (Request.QueryString("submit") = "submit") Then Response.Write(Request.QueryString("fname")) End if %>
I have a select element in a form on a page with some options. When i submit thet form and the target asp page is executed, i want to find retrieve all the values in that select element on the page...?
thru request.form("sel") i am able to retrieve only the vaue selected by the user.
I am having a few problems with the Timer component in ASP.NET. I can get it to work in the C# windows application of visual studio but not in the ASP.NET.
The thing is a number of people will be logged into the website (its a game) so each person will need to view the same timer counting down to zero.
This is the code in ASP.NET. The timer only seems to be counting during page load.
How do i get it to count for a number of minutes while the game is in progress????
I have C# windows control libarary (Dll), which I could able to load them into browser using <objecttag with following syntax (In aspx page) and user able to see the contolr properly.
I would like to load a client C# windows control libarary (Dll) instead from webserver. (something like OCX) So is there way I can load .NET control from client machine?? (Assum that, the libarary exists in client machine GAC or in physical path)
I created a stored procedure (sp) in my sql database. The sp accesses a table in another sql database. I ran the commands to add the linked server and add the linked login. The tests work fine within the database. Using Visual Web Developer, I'm trying to link my Sqldatasource control to this sp and I'm getting the error: "Could not find server 'xxx' in sysservers. Execute sp_AddlinkedServer to add the server to sysservers." Can you tell me how to fix this error?
The login control fails password validation from both the Web site administrator as well as from the control itself when the application containing it is run.
The validation error message produced is: "Password length minimum: 7, Non-alphanumeric characters required: 1."
This occurs when running the app both running in IIS and file based. What's 'odd" is it seem like a client side problem.
I have a menu control that has two Menu choices One is "View History Items" the second is "PDA" My problem is as you roll the mouse over the menu options, the second one works only if your mouse is actually over the text "PDA". Since it is much narrower than the first item, the entire width lights up like an active link, but the link won't work unless your exactly over the area that has actual text. So it appears to the user who clicks too far to the right that nothing is happening (which it isn't)
I need to create a treeview on a database management .aspx site that when the parent is clicked, it expands to display the many associated records with it. Aka, it pulls info from not one, but two sql server tables. Further, these rows must be editable.
Does anyone know of any source control software (besides Visual studio) that allows a multi-user environment to be able to check out/in files and keep version control?
My website is on a server that places Cache-Control: private in the Header of the pages that are served. I see these pages are not cached by Google (the Google Toolbar Cached Snapshop of Page function). Is this directive from my server preventing Google from caching the pages that have it or do I need to look into some other problem? Thanks in advance for your input/feedback.
This is a small Web Application, this contains basic XML functions using ASP including a XML driven user authentication, adding new records, viewing records, editing and deleting records. Code:
recently I am building a web application, i want to know what is the difference between web server control and web html control,what feachers do they provide?
I want to write an activex control. This actiovex comntrol will be a simple drop down and when i select a value from this drop down the value in another drop down will be fill up based on this value with page refreshing.I have no idea how to develop such type of activex control.