I am using mutliview control in my aspx page.In one multiview I have a grid and the grid columns I am adding based on the data fetched from back end.That means columns for that grid is dynamic.And also grid contains controls like text boxes.Which populated dynamically.
The problem is when I navigate using multiview link.Dynamic grid data is disappearing.
PLease help me in above regard.I need to persist the grid status even when i will navigate in the multiview.
like i have created
<asp:TextBox ID="search" runat="server"/>
Thnx ....can i similarly add a function which is called on onload to this textbox....
like this is the function i wanna call
document.getElementById(....id of text box).onblur= blur;
document.getElementById(....id of text box).onfocus= focus;
I don't know which way to go with this i think ive exhausted all efforts. My usercontrol display information but when i click update a full page postback occurs and i lose everything, my control disappears!
I have an extremely large amount of data to display to the users, so using exsiting controls like a gridview is just silly. I've opted for a usercontrol that displays a set of prices by location and product. I have also given the user a couple of checkbox controls to be able to select groups of locations and groups of products.
Ive put my usercontrol in another with a datalist and a objectdatasource that gets a list of the locations and this accepts a productID, this is why im saying 'doubled up'. A usercontrol within a usercontrol! Not sure if this is the best solution? Because i cant directly access the control with a datalist?
On the main form, i have a repeater control with the usercontrol inside it. This repeats the locations selected (9 max) (created by the datalist) for every product (33 max) selected if you get me! Each control has an update button, but when its clicked the controls disappear.
The form runs fine, but when i click to update the values i.e a postbasck occurs my control disappears.
Does anyone know a way of doing this dynamically? Or knows how the repeater control works with usercontrols!
So as I can make out ....
There are 2 Different User Controls one in dataList and other in Repeater control
....... and the problem which you are facing is that on postback the UserControl inside the repeater disappears
I have a render event in my control that fires to fill up the textboxes etc... You have given my an idea to why this is happening, it appears that the value thats in passed to the first control is now 0 at postback, i'll have to create some kind of collection to store these in session. However when i fix this value, the controls a rendered but i now lose all my data as everything goes to 0. So is appears that all the data in the controls is lost due to the postback.
this is going to be one almighty collection stored in session, the viewstate is going to be massive!
i work in Microsoft Visual Studio 2008 . i working in C# enviroment and creat a website project.
i want open picture with open dialog .please tell me who i can load picture with open dialog?
i am beginner .
please explain step to step.
whether i need a componet as toolbar?
please help me.
i need help body.
You can use drag & drop to place the image in your solution or the context menu, Add Existing Item. However, if you haven't been able to figure this out, then the tool is beyond your current capabilities and skills. Find another tool, learn the current one, or quit while you're behind.
I know the language. I've read a book. - _Madmatt
Last Visit: 31-Dec-99 18:00 Last Update: 8-Aug-22 5:42