|
Check this [^]
or this[^]
"My advice to you is to get married. If you find a good wife, you will be happy; if not, you will become a philosopher." Socrates
|
|
|
|
|
Smiles74 wrote: i want to give focus to next control on enter key
You really shouldn't do it that way - the Tab key is there for that purpose...is the Tab key not suitable for some reason.
The only reason I mention this is that in my experience, if you need to do something "unusual", then it's really a workaround for another problem...
Oh, and it'll confuse the HELL out of your users too
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
Hi All,
I m working on Datagrid using VB.NET as code behind. Can Some one tell me how to display Columns as row wise. I mean I have few columns in Datagrid. I want to display these column to be displayed as Row.
|
|
|
|
|
Can you be a bit clearer ?
Blog Have I http:\\www.frankkerrigan.com
|
|
|
|
|
Dear I take Data from Database and display in datagrid templete columns like following
Name Address Phone
Arif Hangu 98766
I want this should be displayed in Datagrid like following
Name Arif
Addres Hangu
Phone 98766
How is that posible in Datagrid. (ASP.NET)
|
|
|
|
|
Use repeater instead.
"Throughout human history, we have been dependent on machines to survive. Fate, it seems, is not without a sense of irony. " - Morpheus
|
|
|
|
|
I'd like to encrypt the connectionstring in the web.config file for a shared host website:
I read the following text:
http://aspnet.4guysfromrolla.com/articles/021506-1.aspx
How can i use this example for a website on a shared host?
I watched the following video:
http://www.asp.net/learn/videos/view.aspx?tabid=63&id=39
This example works fine on my local Pc (localhost). But if i copy the web.config to the shared host, the solution doesn't work.
How can I use this example for a shared host website?
Thanks for your support
ullk
|
|
|
|
|
Does anyone know how to take data from the gridview and put it back into a datatable or dataset?
|
|
|
|
|
You can use itemdatabound on the grid to copy the contents to a datatable while the table is loading.
I used a free (on codeproject somewhere) grid to excel converter which could be used.
Blog Have I http:\\www.frankkerrigan.com
|
|
|
|
|
I already have the data saved in viewstate. The problem is that having all that data in the viewstate is not good for the performance of the application. What I am trying to do is filter my grid without having to requery the database.
|
|
|
|
|
Save the data in session/viewstate as serialised object.
Blog Have I http:\\www.frankkerrigan.com
|
|
|
|
|
I want how to start designing a web page in asp.net.
Can any say about this
|
|
|
|
|
Start with a pencil and paper. I'm not kidding !!! Plan it out the design and then develop the design in asp.net
ASP.NET is not a website designer it is an application platform.
If you website requires no code or application funcationality then don't use asp.net use an Html IDE, even MS provides a free web design tool.
ANYWAY...... The secret to website design is tables with no boarders. This allows the content of your webpage to be presented in a consistent manner and layout.
Blog Have I http:\\www.frankkerrigan.com
|
|
|
|
|
Can any one give me the guidlines for converting my .net 2003 product to .net 2005
Mahammadhusen
|
|
|
|
|
www.microsoft.com
It should do it automatically or you can recreate the project manually and copy in all the old files.
Blog Have I http:\\www.frankkerrigan.com
|
|
|
|
|
Hello,
I have an ASP .NET 2.0. Web site that I am working on and I want to integrate a blog on the website. If anyone can recommend me a free solution I would really appreciate it.
Best regards,
Dan.
|
|
|
|
|
|
Thank you,
It seems to be exactly what I am looking for.
Dan.
|
|
|
|
|
HI problem regarding ajax ..
Inside ajax Method I use code to bind data ..
Code is as follow
[Ajax.Method]
public string GetCity(int stateId )
{
MenuDirectory.BLL .MasterData objMaster=new MenuDirectory.BLL.MasterData ();
DataSet dsCity=objMaster.GetCitiesForState(stateId);
DataRow dr=dsCity.Tables[0].NewRow();
dr["cityId"]=0;
dr["cityName"]="Select City";
dsCity.Tables[0].Rows.InsertAt(dr,0);
dropDownResCity.DataSource=dsCity.Tables[0];
dropDownResCity.DataTextField="cityName";
dropDownResCity.DataValueField="cityId";
dropDownResCity.DataBind();
HtmlTextWriter testWriter = null;
dropDownResCity.RenderControl(testWriter);
return testWriter.ToString();
}
I got error on line "dropDownResCity.RenderControl(testWriter);" As
Control 'dropDownRestCity' of type DropDownList must be place inside form tag with run at = "Server" where and my control is inside form tag
The html for AspX as follow
<HTML>
<HEAD>
<title>AjaxCall</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<script language="javascript">
function CallFillCity(objCity)
{
//alert(obj.value);
var obj = document.getElementById("dllCity");
//alert(obj.innerHTML);
//alert(objCity.value);
CityHtml = My.Page.GetCity(objCity.value);
//alert(CityHtml.value);
obj.innerHTML = CityHtml.value;
}
</script>
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td id="dllState1">
<p style="MARGIN-TOP: 2px"> <asp:dropdownlist id="dropDownResState" CssClass="txtType" Runat="server" AutoPostBack="False"></asp:dropdownlist></p>
</td>
<td id="dllCity">
<p style="MARGIN-TOP: 2px"><asp:dropdownlist id="dropDownResCity" tabIndex="1" CssClass="txtType" Runat="server" AutoPostBack="False"></asp:dropdownlist></p>
</td>
</tr>
</table>
</form>
</body>
</HTML>
Any know solution ...
yogesh M
|
|
|
|
|
Just wondering why you have chosen to use the HTMLText writer to add the control?
|
|
|
|
|
HI want HTML return by the server ...
So i written
|
|
|
|
|
Hi,
I have one textbox which contains the properties
multiline = true, rows=4.
this is in one tag width of 700.
While entering data in to this iam entering long string without giving any spaces.that time it is forcing to new line.
after that iam saving it in to database.
so i want to display this data in somewhere in to textarea .
this textarea also contains same properties as like before one.
but here the problem is it is showing the data in single line.that my table width is increasing up to that string length.
so how to display the data in different lines.
if any one have the pls give me solution.
iam struggling like anything ,i searched a lot.
i could't find the solution
Thanks in advance.
|
|
|
|
|
a simple solution is to place the text area a cell that has a fixed width. This will allow the text to warp.
Blog Have I http:\\www.frankkerrigan.com
|
|
|
|
|
hi,
Thanks for responding.
but i have one main
(for this table i din't give any width)
<horizontal line="">
i have rows like this many.after that
i kept the table and i tried but all other second | | Description(label)
<asp:textbox id="DescriptionOfLessTextBox" readonly="True" runat="server" cssclass="ReportTextBox" rows="4" textmode="MultiLine" width="500">
| are going right of the window.if we want to see that means we want scroll horizontal scrollbar.
please help me out.
and one more is is there any method to get the length in pixels of the string?? |
|
|
|
|
|
What type of field are you saving the data away in the DB i.e Varchar or Text?
|
|
|
|