I have a datagrid control with one checkbox and a dropdown list control.if checking on the checkbox from any row is causing the blinking of dropdownlist in one full columns.how will avoid the blinking of one full columns blinking..i want which rows checkbox is checked ,blinks only that corresponding rows dropdownlist..how it is possible?
Coloring a map according to mapped database values?
Question: [URL] one can see a map of european countries colored according to state debt/deficit. Now I would have already found it useful several times if I was able to do such a thing myself, for example to visualize regional sales data.
Is there any (OpenSource) tool with which I can color a world/continental/reginal map according to colors mapped to values in a database ? Or any tool that can construct a custom map ?
Or if there is no such thing, how would one do such a thing oneselfs ? Get the outlines of countries from somewhere, make everything outside the country outlines transparent, set the coordinates and z-indeces to stack several images over one another, and then replace the base color with the selected color in each image, then merge the result to a single picture ?
I have a situation where some dropdown listboxes contain some items, then there's a separator line, and then there are more items. The ones above the separator line reflect the "commonly used items". To better highlight these I was using code like this to individually color those specfic items:
foreach (ListItem item in ddList.Items) { if (item.Value == "-1") unAssigned = true; if (!unAssigned) item.Attributes.Add("style", "color:#5558ff"); }
This code works fine EXCEPT that once a PostBack occurs then the highlighting disappears. The items in the dropdown listbox remain (without repopulation) but not the highlighting.
I'm curious why this is happening and whether there's a way for the highlighting to "stick" short of calling this code from the Page_Load event handler every Postback?
I am using Iframe control in html in that i am refreshing a page for every 30sec. The page also refreshing while refreshing iframe window is blinking. I want to refresh a page every 30 sec without any blinking by using iframe
I have a textbox with a regular expression , a add button and a cancel button.
On add button click my regular expression is working properly. On cancel button click i am clearing my textbox and i have already set 'Causes Validation= "false"' to my cancel button.
But on my cancel buton click i can see my regular expression validation message is blinking.
I have a textbox with a required field validator and two buttons .One to save and other to cancel the action. On clicking the cancel button i am clearing the text entered in textbox.
The required filed validators is working on the save button if the textbox is empty. But on my cancel button click the required field validators message is blinking .
i have grid that uses around 12 to 15 label when i bind it...and grid contains thousands of records, now if i'll use literal control instead of label will it to improve the speed.
I have a Calendar Control which is getting certain dates from SQL database and shows them in gray colour using following SQL statements:
[Code]....
[Code]....
Everything works fine but I want to Show Location and Date also under the calendar control usnig Label control so when user clicks highlighted date it shows Date and Location (only the ones which are coming from SQL database and are highlighted) using Label control.
I have written a DLL. My intention is to use the DLL in both .NET and ASP.NET. How can I pass a Label control (or any other control) to the DLL as a parameter.
It's easy to bind a data source to something like a gridview or repeater, but how would I do it with a label? Heres the sql connection that I want to modify. By the way, I don't need 2 way binding.
public void Sql_Connection(string queryString) { SqlConnection conn = new SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings["RBConnectionString"].ConnectionString); SqlCommand cmd = new SqlCommand(queryString, conn); conn.Open(); cmd.ExecuteNonQuery(); conn.Close(); }
I'm fetching data from database which is of datetime data type and is in format "yyyy-MM-dd HH:mm:ss" Eg: 2010-11-04 00:00:00 Now I want to display this same data in same format from DropDownList to Label Control. But when I try to display data, the same data is displayed but in some other format like Eg: 04-11-2010 00:00:00
I have the following jQuery code working as it is (passing the value of 'test") but what I want to do is to pass the value of the label control (lblNames). I'm using the label control to collect the uploaded file names.
<asp:SqlDataSource ID="sql_Region" runat="server" ConnectionString="<%$ ConnectionStrings:Test %>" SelectCommand="SELECT Number, Name FROM table_Region WHERE Number = @Number" SelectCommandType="Text">
<asp:DropDownList ID="dd_Region" runat="server" DataSourceID="sql_Region" DataTextField="Name" DataValueField="Number" /> Ok, I have this dropdownlist and I want to use the DataTextField for a label control.
Something like this. I want to show the region as a label but I only could get the DataValueField value not DataTextField value. Does anybody knows? <asp:Label ID="label_Region" runat="server" /> <C#>
label_Region.Text = dd_Region.SelectedValue.ToString(); <--I know by doing this, I can get the DataValueField but. label_Region.Text = (DataTextField) <<--How do I get this value? I want to show the region name not the region number