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?
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
This upload is working. But why the page is getting refreshed? this is not partial post back and instead it 's full post back. i have read the articles for the fileuplaod with issue inside the update panel. is there any way to achieve this asynchronous upload on button click?
I don't want to use the Ajaxtoolkit Asyncupload because that will upload (Ref : [URL] ....] the moment when we seelct the file itself which i don't want to do that. i need to do on the button click event.
I have boundfiled column inside gridview and made the column as invisible by setting visible="false".
But while exporting the gridview to excel I am getting the Header text alone exported. Wherever the column's visibility is set to false the header text should not be exported. After binding the gridview I have set the column's visiblity to false so it won't export the column values.
The problem is to stop exporting the header text to excel. Let's say column index is 10
I have put my gridView inside an UpdatePanel with Timer control for auto refresh.The gridView has a linkButton column which is bounded to referenceNo column from database.
On click of this link button i want a panel to get visible. This Panel contains details corresponding to the referenceNo shown in differnt controls (mostly texboxes). Do i necessarily need to put the panel inside the Update Panel.If not how do i do it?
I have tried putting panel outside UpdatePanel, but it doesn't show panel on clicking the linkbutton nor does the values are updated inside this panel (if panel's visibility is set to true by default for testing purpose).
I add cache to my application, I have a page which contains several User Control, my problem is I just want to cache the data returned from Controller, but not want to cache all the page content. Since one of my user control is login control, if I cache all the result, then it will behave incorrectly.
my problem is :
1.Is it possible to just cache the data returned from controller ?
2.If a page is cached, can I force a control in the page to be uncached ?
I created ajax tab dynamicaly.it works well except one thing .every time i clicked on menuitem a new tab created and if I clicked on that menuitem again the tab created again.I dont want to create one tab repeatedly I just want to create each tab just once and if I click on repeated menuitem the existed tab just be active.
I have an aspx page which contains a web user control as below.
In the Page_Load method of the above page I am setting the Visible = true/false (based on some condition) for the WebUserControl1. WebUserControl1 contains lots of control itself. But I don't want to initialize the controls inside WebUserControl1. Is there anyway we can avoid initializing the ChildControls of WebUserControl1?
I have a control (say, a DataGrid or a ComboBox) which is a child of a user control. I want to DataBind it on every request, rather than have it's state persist through ViewState. I need to leave EnableViewState=true however. This means, I think, that I need to call DataBind before TrackViewState() is called.
I read the fantastic blog post TRULY Understanding ViewState and it answers my question in 4. Initializing child controls programmatically. However, the article's solutions are less-than-ideal: create child controls dynamically (I'm not and can't -- too much existing code), use a 3rd party CodeExpressionBuilder (would much prefer this was in code-behind), and use OnPreInit (which "doesn't help you what-so-ever if you are developing a CONTROL").
I have a user control which is used by several pages on my site. I would like the state of the controls within this user control to persist as I move from page to page, but presently any such page navigation causes the user control to reload from it's original state.
I have also noticed that this problem extends to the event handling methods of the controls on the user control. After executing the event handling method in the code behind file the page refreshes and the user control is reloaded from it's original state.
Is there a way to prevent this user control from reloading it's original state?
How do you avoid duplicate bound items in this scenario: There's a databound control on a page (a DropDownList in this case, though I don't think it matters). It has AppendDataBoundItems set to "true". Somewhere in the code, a DataSource is set and DataBind is called. So this control is bound explicitly. You have a bunch of other things to bind on the page, so you call Page.DataBind.
Your databound control now has duplicate items in it. It was (1) bound explicitly, then (2) Page.DataBind bound it again. Since AppendDataBoundItems was true, the second bind appends to the first, and you end up with double the items. A couple limitations: The explicit call to DataBind on the control is done through some centralized code, and would be painful to change. i really need to bind the rest of the page in aggregate (via Page.Databind()) because there's too many other databound elements to do it individually without writing a ton of individual calls.
I need a method like... Page.DataBindExceptIfTheyHaveAlreadyBeenBoundDuh()
everytime I click on the link a postback is fired (IsPostBack = false). Can I avoid this? I have a counter on the page and everytime a pic is showed this is recognize as a full page load (i.e. increment counter) as IsPostBack = false!