i am using asp.net + C# in my page i use label for "Bio post" ,to display.If the user enter datas like "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"etc. with out enter any space. the alignment problem will occur .i want to display all the details like "aaaaaaaaaaaaaaa" "aaaaaaaaaaaaaaa" "aaaaaaaaa" .Is it possible.I dont need scroll bar in that. if the text not fix in specified width of that label it will come next line. for eg:in gmail if we type subect only letters like "11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 " but when we open it the subject display properly like "111111111111111111111111111111111111111111111" "111111111111111111111111111111111111111111111" "111111111111111111111111111111111" is any way to solve like this .and this fix in page width. I use text box to display data .but i dont need that scroll bar when we set wrap="true".i need to display all the details with out scroll bar.
deepthy p m 0
Posts
-
avoid scroll bar in text box -
Wrap labeli want to set the label in in page width but after using the div tag the problem is not solved.is any other control is there.i cant use text box bcs i dont need scroll bar in that.
-
Wrap labeli use div tag and also css css .label_one { width:700px; height:auto; word-break:normal; word-wrap:break-word; } and add that css in to div but the problem is the width still there after applying that css.
-
Wrap labeli am using asp.net + C# in my page i use label for "Bio post" ,to display.If the user enter datas like "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa"etc. with out enter any space. the alignment problem will occur .i want to display all the details like "aaaaaaaaaaaaaaa" "aaaaaaaaaaaaaaa" "aaaaaaaaa" .Is it possible.I dont need scroll bar in that. if the text not fix in specified width of that label it will come next line.
-
validate Dropdownlist inside gridview using javascripti will not work bcs i place the dropdownlist inside the gridview .
-
Messagebox and alertsUse javascript OR u Can use Response.Write("alert('Enter the message here');") in the code window. But when u use Ajax controls Response.Write not possible u can use label and write the msg in that label
modified on Thursday, May 21, 2009 12:56 AM
-
How to insert datas with comma in sql ???user insert quary in stored procedure or use the insert command following like this ; cmd.Parameters.AddWithValue("@RegFirstAddress", txtFirstAddress.Text); cmd.CommandText = "insert into Tbl_Registration(RegFirstAddress) values (@RegFirstAddress)"; cmd.ExecuteNonQuery();
-
validate Dropdownlist inside gridview using javascriptI use ASP.NET + C# In My form I have a Gridview inside gridview i use a dropdown list In dropdownlist it contain --Select-- and other items I want to add a validation to this dropdownlist so that the user must choose an item other than --Select-- I need to validate using javascript .How can i do that
-
mail sending problem in asp.net + c#i use localhost mail server SmtpMail.SmtpServer = "localhost";
-
mail sending problem in asp.net + c# -
mail sending problem in asp.net + c#i have included mail delivery code in my project. the problem is that,its sending mails to gmail account successfully without delay.But is unable to send mails to other mail accounts like yahoo,in etc. How can i solve that.
-
Avoid Session clear[when the session is null we are by default directed to home page.] At first when we login and perform transactions we carry the session values from one page to second page.At this second page if we remain idle for some time, the session automatically clears off. This causes us to reach back to home page . How to avoid this? We have included the following code in the web.config file,but still we are having the same problem.
-
how to disable back Button in IE using asp.netI use the following code to disable back in IE In javascript i use window.history.forward(1); ] and on code side protected void Page_Init(object sender, EventArgs e) { Response.Cache.SetCacheability(HttpCacheability.NoCache); } protected void Page_Load(object sender, EventArgs e) { Response.AddHeader("pragma", "no-cache"); Response.Expires = -1; } But When i move from login page to firstpage it should not retun to login page when the back button is clicked. right now its returning to login page.How can i avoid that.
-
doubt in cross joinMy question is when i use cross join it will return value or not? All other tables other than cross join when i apply condition it will not return value .In cross join table i need to truen that values bcs it contain comapny details.I think u can understand my problem.
-
doubt in cross joinI use the following code to ruturn value SELECT Tbl_BuildingAggrement.*, Tbl_Building.*, Tbl_BuildCustomer.*, Tbl_Rent_Receipts.*, Tbl_Temple_Registration.* FROM Tbl_BuildingAggrement INNER JOIN Tbl_Building ON Tbl_BuildingAggrement.BL_Building_Id = Tbl_Building.Build_Id INNER JOIN Tbl_BuildCustomer ON Tbl_BuildingAggrement.BL_Cust_Id = Tbl_BuildCustomer.BuCust_Id FULL OUTER JOIN Tbl_Rent_Receipts ON Tbl_BuildingAggrement.BL_Id = Tbl_Rent_Receipts.RntAggId CROSS JOIN Tbl_Temple_Registration WHERE Tbl_BuildingAggrement.BL_Building_Id =1 AND Tbl_BuildingAggrement.BL_AggDate between CONVERT(DATETIME, '22/Mar/2009', 102) and CONVERT(DATETIME, '22/Nov/2008', 102) It display null value ,but i want to display Tbl_Temple_Registration details. that i used in this cross join. But it didn't display values .What the Solution for this .If cross join return values .
-
crystal report tollbar buttons not working in asp.net [modified]when i use the next in crystyal report it will not working and disable the crystal report . How can i solve this problem
modified on Friday, September 19, 2008 3:11 AM
-
Printing ProblemIf u know that code pls give me
-
Printing ProblemHow can i change others printer options.
-
Printing Problemi have a report viewer inside a div tag,which has got an id, a print button at the bottom of the form. When i click the print button a pop up window gets opened which includes the output vales and at the same time the window's print window too gets opened which asks the printing details after giving printing details and starting the print MY PROBLEM 1)in the first page only the heading and the page number , page link address and current date are displayed 2) in the next page i am getting proper output of report but it even includes i) the page link address at the bottom and ii)the current date iii)a thick line at bottom which is not needed i only need the report values in the print out Please help me
-
submit button not working inside update paneli moved my entire webpage inside a ajax enabled website . took a masterpage included form ,placed a content place holder inside that form.Placed a script manager and Update panel inside that place holder. Then i moved my already created form inside the Update panel MY PROBLEM Now the submit button is not working at all,not even causing postback please help me