![]() Related Questions How to maintain ViewState of dynamically created user controls? For example, If I am creating few instances of a User control using LoadControl(...) method, then how do I make sure that the viewstate of all these controls is during postbacks? This is how I have done this in one of our projects:-1. First way is store image in BYTEARRAY while checking UPLOAD CONTROL and hold that image in CACHE. And then store it (bytearray) in Database while Latest Answer : To upload the image in to the Oracle: if you are using stored procedure then by using command instance object you and pass the image in Binary Format is Request.BinaryRead() and to display the image user the same method i.e. reponse.binarwrite() ... Read Answers (1) | Asked by : Nidhi Difference between DataList and Repeater?ans:Both are similar,except for a difference that Repeater datas can't be edited whereas datalist datas can be edited Read Answers (3) | Asked by : dineshrajan Latest Answer : Use RequiredFieldValidator control. Set its 'InitialValue' property to something like 'Select an item'.This control will ensure that the user has to change the value from InitialValue to another value.If InitialValue is not set the dropdown ... Latest Answer : User Control : A usercontrol is a templete control that provides extra behaviour to all individual control to be added to user control in GUI designer. These controls are added to the user's control Templete file .ascx. it is similar to aspx file and ... ViewState in ASP.NET IntroductionMicrosoft ASP.NET Web Forms pages are capable of maintaining their own state across multiple client round trips. When a property is set for a control, the ASP.NET saves Latest Answer : Session variables are maintained for particular session like for particular user only, so any user related information has to be saved in session variable.  While application variables are maintained for whole application. Whole application related ... Read Answers (2) | Asked by : Shiv My interviewer asked me i want maintain same header and footer in number of pages what is the way to My interviewer asked me i want maintain same header and footer in number of pages what is the way to do minimum level of code i use? i said user control he again asked what areall the other ways? Read Answers (26) | Asked by : rajini AlternatingItemTemplate Latest Answer : You can provide an alternating color scheme in Repeater control using AlternateItemTemplate, In Repeater control you cant edit the data, it's read only. ... Latest Answer : Web User Control:1) Easy to Create.2) It Can be used inside the same Application.(To use it in other application we need to add it to that project.)3) It Can take advantage of Caching Technique.Web Server Control:1) Bit tuff to create as compare to ... Read Answers (2) | Asked by : Zia What I should answer person on interview on question “Can User Control be stored in library?”. The correct answer – Yes, but interviewer demanding that correct answer – No because User controls are not pre-compilable Yes Read Answers (2) | Asked by : Yuriy
Sponsored Links
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||