|
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!
e.Row.Cells[i].Text = e.Row.Cells[i].Text.Replace(Environment.NewLine, "<br />");
Thank's for taking the time to help me out!
"You're damned if you do, and you're damned if you dont" - Bart Simpson
|
|
|
|
|
Nice to know our soluation helps you!!
|
|
|
|
|
I have made a web application project with some asp pages. Include this web application project's dll in a web site project as reference.
In web site project, I want to create instance of any asp page exist in web application project. And display asp page as object.
How i can do this.
Zia
|
|
|
|
|
ZiaMehdi wrote: I have made a web application project with some asp pages. Include this web application project's dll in a web site project as reference.
I am clear about this part.
ZiaMehdi wrote: I want to create instance of any asp page exist in web application project
But not this one . can you give me some more details on it ? That whats your requirments ?
Thanks in advance ~!!
|
|
|
|
|
can you be more specific to the scnario?
Cheers!!
Brij
|
|
|
|
|
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 with configuration: IIS6.0, win 2003 server, net2.0, webservice, app pools.
|
|
|
|
|
NeetiGulati wrote: Is there any limitation for number of Asynchronous threads that we can create using ASP.net with configuration: IIS6.0, win 2003 server, net2.0, webservice, app pools.
What does it means ? Can you be more specific ?
Thanks in Advance !!
|
|
|
|
|
Can you elaborate the scenario?
AFIK, I don't think so ,but there will be performance overhead.
Cheers!!
Brij
|
|
|
|
|
NeetiGulati wrote: 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.
|
|
|
|
|
Hi there
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
Can any one provide me the Giudence on this topic
|
|
|
|
|
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.
Cheers!!
Brij
|
|
|
|
|
Ravi_21 wrote: i want to create a user control which are create dynamically
You want to create User Control (.ascx ) Dynamically or Want Add User Control Dynamically ?
Have a look on this[^]
Hope this will helps you.
|
|
|
|
|
Hello Friends,
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.....
|
|
|
|
|
AFIK , you can't use file upload control inside update panel.
|
|
|
|
|
It can be used. There is something called PostBackTrigger . Check this[^]
|
|
|
|
|
Hey Navaneeth, Thanks for information . I was not aware of that.
Thanks Again !!!
|
|
|
|
|
Glad to know it helped
|
|
|
|
|
Thanks Navaneeth, But it's doing postback so where is AJAX. We can also do it without UpdatePanel and whats its advantage over simple code(without UpdatePanel)....
|
|
|
|
|
.NET- India wrote: But it's doing postback so where is AJAX
By postback do you mean the page is refreshing? Fileupload control can't work using AJAX. So it needs a postback to send the data.
|
|
|
|
|
Dear All,
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
kindly tell me what should i do.
Sajjad Ali
|
|
|
|
|
|
Look into System.Net.WebClient class. Work with DownloadString[^] method and save the string with .xml extension.
|
|
|
|
|
Hi I am using ASP.Net 1.1,I am not finding this namespace.Please suggest.
|
|
|
|
|
Thanks You It is working.
|
|
|
|