How does one go about changing the style of the Browse button in the FileDownload control?
"Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001
I have used cssfriendly to create a vertical menu with attractive look.Too late I discovered that it doesn't work correctly in IE6 because it jumps from the right side to the left when the mouse hover on it.Also it is shifted to the left while I made it to align to the right as it appears correctly in IE7.
Another problem I discovered is that my login control and its validation are not working correctly its code is as following:
protected void Page_Load(object sender, EventArgs e)<br />
if (!Page.IsPostBack)<br />
string prePath = ConfigurationManager.AppSettings["ImageBase"].ToString();<br />
string preWIPath = ConfigurationManager.AppSettings["ImageBase"].ToString() + ConfigurationManager.AppSettings["ImageBase_WorkInstances"].ToString();<br />
WorkInstance workInstance = new WorkInstance();<br />
SqlDataReader dr;<br />
dr = workInstance.GetNotFlashItems();<br />
//If result has any record?<br />
if (dr.HasRows)<br />
grdNoFlashInstances.DataSource = dr;<br />
setting the property "CenterMiddleImagePath":
How should it be?
Answer: the saved value in database is just the filename. but path of the files should be retrieved from the file web.config and set to the variable prepath as the following. so the value of the above property is preWIPath + DataBinder.Eval(Container.DataItem, "ImageName")
Hello, I am trying to create a custom control for creating tabs. The idea is that our designer can just use the control tags to generate the tabs. The problem that I am running into is that I want to be able to have a custom control that allows any number of child custom controls. So there would be a TabContainer Control, and within that there would be any number of tabs. The idea is similar to how an asp:DropDown list can have any number of ListItems within them. Here is my code, any help is appreciated.
I want you to help me in deploying a asp.net 2.0 web application which makes use of sql database.
Generally, the process that i follow is:
I will generate a sql script of my databse, export the data into excell file.
And, i will copy my project and create a virtual directory in the server.
Then i will run the sql script in the sql query analyser of server and import the excell data sheet.
This holds good for within the LAN.
But, now my requirement is i want to pack database and my project into a single exe file. So, that when the client installs in his server, the databse connects automatically and the project works fine...
You can create the scripts for the database structure as well as forthe data
In your app detect when it is the firs time use and ask the user to choose the server user and password, using that, connect to the server and execute the scripts, also save the server, user and password in webconfig for later use by your app
I am new a themes and skins so please bare with me. What I have is a gridview that rows contain textboxes and dropdowns in the row's columns. What I need to do is design a skin for the gridview that allows the entire row, controls and all, to appear yellow (background) once the row is selected. I have a default skin for the gridview and plan to modify this to meet my needs. Can anyone provide recommendations as to the best way to do this?
Use the designer to create a gridview with all yor requirements (Color for rows, selectedrow, edit row, etc)
Then copy all the sourcecode generated and insert it in a skin file inside a theme
You shoull only leave the properties that have to do with design, remove the is property and you can add a skinid property in the skinfile for the gridview
Thanks for the help; however, let me explain my problem a bit more in detail. I do have a skin file with a skin for my gridview that works. The problem is that each of the gridview's row cells contains textboxes for data IO. Now, what I want to do is change the background color for the gridview row and that row's textboxes (showing selection) when the cursor enters one of the row's textboxes. If this sounds confusing it probably is and if more information on what I am doing is needed just let me know.
I have now studied themes and feel that my origional question was not accurate. What I have is a GridView with each row made up of cells containing textboxes. All I need to do is change the background of the grid's row and its textboxes once it has been selected. I do have a skin for both a non selected background and a selected background and see that I can set the SkinID property to either. All I want to do is have the background of the gridview's row and textboxes indicated that it has been selected. Can anyone provide advise?
First off, thank you very much for your help. If you want me to mark this as answered as correct for you I will and post a new question, just tell me. The problem I need to solve, I think, is with textboxes that make up the cells of the grid. When I select one of the textboxes that make up the cells of the gridview, then I want the whole row, each of the row's textboxes, to be highlighted in yellow. Sorry, for my poor wording of the initial question.
Last Visit: 31-Dec-99 18:00 Last Update: 20-Jun-21 7:52