|
i think i got ur prob ... may coz i too faced a similar prob ...
u mean u want to change the \n character received from the user to , so that when its is displayed, the browser will show the text in new lines ...
Apurv
A coward is incapable of exhibiting love; it is the prerogative of the brave.
.......Mohandas Gandhi
|
|
|
|
|
yes, now i have solved the problem. thank for replying
|
|
|
|
|
thanks for trying to help
|
|
|
|
|
Hi,
I am using ajax tabcontainer.In here only two tabs are working..
But I want to added more than tabs....
|
|
|
|
|
I want to build a web with user and control access. i'm using aspnetdb.how could i migrate this file to sql server.
Thanks
|
|
|
|
|
attach that file to the server and change the con string
If You win You need not Explain............
But If You Loose You Should not be there to Explain......
|
|
|
|
|
Change it in the connection string as krazzy said.
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
Hi,
I need two drop-down lists in aspx page. Secondone is populated based on first one's selection. For both, data is populating from Database. Is there anyway I can do this without postback?
I had checked the url, Ajax DropDownList. But this is using the data from an xml file. I need to read the data directly from database and populate the same in the drop-down without postback. Is it possible? Is there any url or article regarding this? Please provide any help
Thanks
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
|
I have simple question
What is the best location to store sqlstringconnection concerning security purpose.
Thanks
|
|
|
|
|
in web config .. encrypted
If You win You need not Explain............
But If You Loose You Should not be there to Explain......
|
|
|
|
|
Krazy Programmer wrote: in web config .. encrypted
how can we store it encrypted ?
plz give some e.g. or link
Thanx.
Apurv
A coward is incapable of exhibiting love; it is the prerogative of the brave.
.......Mohandas Gandhi
|
|
|
|
|
I have the following design
I have to Implement pagination on this using ASP
Image name comes from database
Can any body help me in this
Amit Battan Ror
battan20@gmail.com
|
|
|
|
|
I'm looking to build a product showcase 'module', i.e. a page or user control, that a) I can use with mojoPortal[^], and in my own custom built sites, and would appreciate some suggestions.
What I want is a paged display of a small number of product images, together with titles and descriptions. I'm looking at two to maybe four items displayed at one time, with standard paging by numbers or 'previous/next'. I could scroll more visible items, but would prefer a static view. My challenges are:
1. Neither the Repeater nor DataList controls provide paging.
2. The DataGrid has paging, and that is what I'm currently using, but I'm limited to one column, with a row for each item.
3. mojoPortal provides a picture gallery page feature, but it doesn't display the image descriptions when you click a thumbnail to enlarge the image.
4. I only have three pieces of information on each product set: an image, what product line it is in, and a single HTML text describing the components in the product image. I can't refine classification of products beyond what product line they are in.
I'm not asking for implementation specifics here, but more suggestions on what would make a nice product showcase. What layout techniques, what controls, how much custom programming etc.
A human being is part of the whole called by us universe, a part limited in time and space. We experience ourselves, our thoughts and feelings as something separate from the rest. A kind of optical delusion of consciousness. This delusion is a kind of prison for us, restricting us to our personal desires and to affection for a few persons nearest to us. Our task must be to free ourselves from the prison by widening our circle of compassion to embrace all living creatures and the whole of nature in its beauty… The true value of a human being is determined primarily by the measure and the sense in which they have obtained liberation from the self. … We shall require a substantially new manner of thinking if humanity is to survive. (Albert Einstein, 1, 1954)
|
|
|
|
|
Hi friends
i want to export image and datagrid in one pdf
First display image
Below the image datagrid is displayes
now any one is display not both
regards
saravanan
Known Is Drop.Unknown Is Ocean
|
|
|
|
|
I am working on asp.net 2.0 with c#,
In my project there is a dropdown which having autopostback enabled.
i have to validate its selection.
i write javascript for it like that.
<script type="text/javascript">
function alertOnBadSelection() {
var select = document.getElementById('ddlContract').value;
if (select=="-1") {
alert('Please select contract');
return false;
}
else
{return true;}
}
</script>
this working fine as script when wrong selection,but when i select right selection dropdown's OnSelectedIndexChanged event not fire.
can any one tell me how i will resolve my problem.
thanks
|
|
|
|
|
How you are calling the JavaScript function at client side? It should be like 'return alertOnBadSelection();' Make sure that AutoPostback property is true.
*jayakrishnan
|
|
|
|
|
Thanks for replying me.
i am calling alertOnBadSelection() this function on onchange="return alertOnBadSelection();"like that.
if it is working fine for wrong selection,
but when i make right selection it not postback page.
dropdown OnSelectedIndexChanged event not fire.
can u hepl me on it.
thanks
|
|
|
|
|
I have this friend asking me how to add a blank row in datalist control. I tried some stuff using a default item template (literal html <td<) and found out that it indeed does not display the newly inserted blank row. This is because the new inserted row with blank contents ("" or " ") will be translated to <td></td> in HTML which in most browser will not show anything even a place holder. To solve this, you have two options:
The first one is to modify the ItemTemplate to use a <asp:TextBox /> or <asp:Label /> instead of literal <td></td> control. You can do this by replacing the Item Template section under the <asp:DataList... with this one:
<ItemTemplate>
<asp:TextBox BorderColor="Gray"
BorderWidth="1" BorderStyle="Solid"
id="Text1" runat="server"
Text='<%# DataBinder.Eval(Container.DataItem, "Name") %>' />
<!-- <td><%# DataBinder.Eval(Container.DataItem, "Name") %></td> -->
</ItemTemplate>
Another option is that instead of adding a row that contains nothing, add a row in which at least one column contains a string with value " ". So that when the DataList control is translated to HTML the resulting translation will be <td> </td> which will be visible in the browser. Try the code below:
private void addBlankRow()
{
DataTable dt = (DataTable)DataList1.DataSource;
DataRow dr = dt.NewRow();
dr["Name"] = " ";
dt.Rows.Add(dr);
dt.AcceptChanges();
DataList1.DataBind();
}
Good Luck!
-Ross Brigoli
modified on Friday, October 3, 2008 3:59 AM
|
|
|
|
|
hello
i have created a fileupload at runtime...now i want to set its file from code...but its showing error that its read only...
FileUpload fl = new FileUpload();
fl.FileName="D://pic//bullet.gif";
fl.SaveAs(pic_path1);
please someone help how to set the file name in fileupload at runtime...
Thanks
|
|
|
|
|
Yeah... this is obviously for security reasons... You cannot initiate a file upload from within the website. The user must select a file.
|
|
|
|
|
|
Using MySql as DataSource for SqlDataSource ASP.NET 2.0 object I obtain the following
error:
"Unable to find the requested .Net Framework Data Provider. It may not be installed."
I have hosted the aspx page on easycgi
Please tell me how to solve this issue
thanks and regards
If You win You need not Explain............
But If You Loose You Should not be there to Explain......
|
|
|
|
|
The required assemblies for connecting MySql server may not be there in your server. You have to contact your hosting provider(easycgi) and sort out those issues. First make sure that your hosting plan will support MySql.
*jayakrishnan
|
|
|
|
|
Krazy Programmer wrote: Unable to find the requested .Net Framework Data Provider. It may not be installed
Which provider are you using for MySQL? Make sure provider assemblies are uploaded.
|
|
|
|