|
Hi Padmnabh
So is there any solution for this.i need to slove this because i dont want to loose my 3rd deadline also.
Hope you can understand.
|
|
|
|
|
Last thing I can suggest is
1) Create a blank solution.
2)Under it create a new Web Project.
3)The Directory structure will be created. (Have this directory structure seperate from your current structure)
4)Under that copy paste the aspx and aspx.cs files, images files, App_Code files etc.
5)Whatever dll references you have given redo them again in your new Web Project.
6)Do all your web.config coding again either by Configuration tool or by hand.
7)If you have other class liabrary projects for the same Web Project then you have to do the same steps for these projects as well. Build these class liabrary projects individually.
8)Reassign the reference for these projects in your Web Project
9)Build the entire solution and check.
If this does not work then only seniors there can help you.
|
|
|
|
|
Its not a good idea to put your personal details on a forum where everyone can see them.
|
|
|
|
|
Eyeseetee Thank you very much for your advice....
|
|
|
|
|
How to Create PDF file from EasyPDF using asp.net in Thai Language?
|
|
|
|
|
The logical place to look for an answer to that question would be the site of the author of the tool. Have you tried that?
Try to come up with a better subject line the next time, using a subject that is the same as the group is just like not using any subject at all...
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
can you please elaborate little bit more
Cheers!!
Brij
|
|
|
|
|
Hai All,
I need little help in asp.net gridview, i want to create a gridview in which the column width is fixed and the data in the column should have dot line(somthing data....) if it the length of the data is more than the width? Can an give me an idea? or suggestions. That will great for me..
Can any one???
Thanks in Advance....
with regards,
Senthil.S
A Software Engineer
|
|
|
|
|
Hi Senthil,
You can use GridView's RowDataBound Event for your task. The RowDataBound Event is raised while binding each and every row from DataSource. Here you can check the string length and do the stuff you want to do on it.
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
if (e.Row.Cells[3].Text.Length > 150)
{
}
}
}
I Hope This Helps.
Thanks,
Padmanabh
|
|
|
|
|
Just do one thing take that column as tamplate column and wite a protacted function from code behind
in that protacted function u just take the data from the database column which u have to dispaly and count the lenght of the String and take one for loop from 0 to say 50 words and take one string builder and create one table from code behind when the looop reaches the maximum character u have provide then take one ancor tag dispaly.... and u can navigate to next page for whole description of that column
|
|
|
|
|
HI Senthil
Use this code in Aspx page inside gridview
<asp:templatefield xmlns:asp="#unknown">
<headertemplate>Column Heading
<itemtemplate>
<%#FormatString(Eval("ColumnName").ToString(),20)%>
in .cs file just write down this function
public string FormatString(string strval, int length)
{
string temp = strval;
if (temp.Length > length)
temp = temp.Substring(0, length - 3) + "...";
return temp;
}
Just guese here I am passing 20 as a lenth variable so it will add ... if string is more than 20 characters
http://techiefromsurat.blogspot.com/
|
|
|
|
|
use css style for table Cell.
this can be added from server side while rendering the grid cell.
style.textOverflow = 'ellipsis'
Or you can iterate the grid cells as TD , set the below attribute to the TD.
TDCell.style.textOverflow = 'ellipsis'
|
|
|
|
|
hi,
how to develop website without using update panels using ajax...
since i m using many update panels in a single page it takes more time to load. so i m trying to avoid update panels in my site...
Ashok
|
|
|
|
|
Means you want to use AJAX but not updatepanels.
If it is right then you've the option of using XMLHTTPRequest and XMLHTTPReponse object using XML.By this send the data to server and get the response.
Cheers!!
Brij
|
|
|
|
|
hi Brij,
can u send example or links to refer how to use XMLHTTPRequest without using update panels ...
any site to refer...
Ashok
|
|
|
|
|
Please find below
http://www.xul.fr/en-xml-ajax.html[^]">
http://www.w3schools.com/Ajax/Default.Asp[^]">
For more you can get a lot from google
Cheers!!
Brij
|
|
|
|
|
Hi,
I am receiving "Unspecified HTTP error.." when i am trying to connect to my server thru my applicaton. I have VC++ MDI appplication and not ASP application. I would like to know if you have come across such error. I have SOAP tool kit 3.0 installed. How to resolve it?
Thanks
SNI
jhghjghj
|
|
|
|
|
Hi ,
I am trying to developping a web application where i want to implement silent remote instalation.
That means if click a link then the .exe file located at server will be automatically get installed to the client machine.
Normally when ever we are installing any software we are comming across a popup showing next,previous,finish buttons.
But in my application needs automatic installtion without dispaly of that popup.
Can anybody help me.
Thanks in advance.
subrat
|
|
|
|
|
To run an .exe file on client side without informing the user / os is similar to any virus activity.
Normally the client browsers + OS sense the .exe files trying to execute and blocks it asking user either to go ahead or not.
Programmers who have tried infecting client computers may help you but this is not good.
|
|
|
|
|
Hi,
This is my first question posted here so please go easy on me
I've been searching around and trying all sorts of things to solve this problem but still no luck...
after I bind the data to the wanted GridView, I can not address a specific column that I want to set to visible = false.
I keep getting this error: "Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index". Debugging shows that Grid has data and it is not empty, so I do not see a reason for this to happen.
here is an example code and the stack trace:
private void GetUpdated()
{
DataSet ds = new DataSet();
DataTable dt = new DataTable();
dt = myData.RetrieveData("db_GetCaseLastUpdate").Tables[0];
dt.Columns.Remove("IncidentId");
dt.Columns[1].ColumnName = "Last Modified";
grid_Update.DataSource = dt;
grid_Update.DataBind();
grid_Update.Columns[0].Visible = false; <-- sorce error
}
Stack Trace:
[ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index]
System.Collections.ArrayList.get_Item(Int32 index) +2880797
System.Web.UI.StateManagedCollection.System.Collections.IList.get_Item(Int32 index) +9
System.Web.UI.WebControls.DataControlFieldCollection.get_Item(Int32 index) +5
_Default.GetUpdated() in c:\Documents and Settings\customerservices\My Documents\Visual Studio 2005\WebSites\AjaxControlToolkitWebSite1\Default.aspx.cs:81
_Default.Page_Load(Object sender, EventArgs e) in c:\Documents and Settings\customerservices\My Documents\Visual Studio 2005\WebSites\AjaxControlToolkitWebSite1\Default.aspx.cs:26
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436
Also, I can't seem to find a way to change a column's width.
I hope this is the right forum for this question...
TIA for your help!!!
|
|
|
|
|
follow the below:
1.
for (int index = 0; index < this.grid_Update.Columns.Count; index++)
{
if (this.grid_Update.Columns[index].HeaderText == "SomeHeader")
this.grid_Update.Columns[index].Visible = false;
}
2. "SomeHeader" is nothing but the column header.
Regards n Thks
Sam.M
|
|
|
|
|
Thanks Sam, for the quick and effective reply!!!
|
|
|
|
|
You're most welcome.
Regards n Thks
Sam.M
|
|
|
|
|
Is there any page unload event in asp. I need to remove some session information when i closing the page. Please help me how to do this.
Dushan Perera
|
|
|
|
|
Dushan:
No events are fired when browser is closed. Handle the JS event when browser closes and send AJAX call to server which should call a method and clears the necessary sessions.
|
|
|
|