Hey Guys, I got it working. It was actually a combination of both your responses. I did have to move everything to the Page_PreLoad() and also do a RowDataBound event handler instead of RowCreated. I also had to change the event handler to this after it dawned on me that I'm replacing but not specifying that's what I want to be in the text area!
I developed a project Webapplication1 with one asp page Webform1.aspx. As you know when webapplication projects compiled it makes a dll for whole application. Compiled dll resides in Bin folder of webapplication1 project.
I also developed a Web site project by the name of WebSite1. Include webapplication1's compiled dll reference in website1 project.
Now I want to show webform1.aspx from website1, while webform1.aspx exist in webapplication1 project. I have created the instance of webapplication1.webform1 in website1 project but unable to load or show the form.
Is there any limitation for number of Asynchronous threads that we can create using ASP.net
There is nothing like Asynchronous threads in .NET, AFAIK. Do you mean Asynchronous operations? If yes, it uses thread pool thread. So maximum number of threads can be used depends on the thread pool settings.
i want to create a user control which are create dynamically and in that i want function which take one parameter say id on behalf of that id it will return some collection of data.
i want number of textbox=no.of count of that database collection
Have made the ascx file?
Create the object of Usercontrol at runtime and give the id at same time.
You can have one public property that will be set at the runtime according to ID by your function.You can put it in custructor or pageload.
I'm using FileUpload control for uploading the image in edit command for updating the existing image. And it's working fine but as i put the code inside the UpdatePanel it doesn't work and throws an error "Object reference not to an instance".
So how can i use the FileUpload control of a DataList in UpdatePanel.....
I am trying to display records of text data and some image in repeater but requirement is if the record is without image then text should align on left site,
But if the image is in record then first image should display on left side i mean left alignment and text should display beside with image but on he right side of image.
Now i need some help how to display these records in repeater item tag with if condition.
if image if true in image class then first image display on left then text display on right if no image in record then simple text display on left