|
Thanks for u r reply.
I already given width to the Label but still it is not working.
I have not failed. I've just found 10,000 ways that won't work. -Thomas A. Edison
Thank u
Chandu
|
|
|
|
|
use System.Environment.NewLine
I Love SQL
|
|
|
|
|
Thank for replying.
How to to use Environment.NewLine with a Label.
I have not failed. I've just found 10,000 ways that won't work. -Thomas A. Edison
Thank u
Chandu
|
|
|
|
|
|
ASP.NET will render Label control to normal HTML span. So you can give a HTML Line break ( <br /> ) to break the line.
|
|
|
|
|
Thank for replying.
How can we insert a <br/> in between a text which is coming directly from Database.
I have not failed. I've just found 10,000 ways that won't work. -Thomas A. Edison
Thank u
Chandu
|
|
|
|
|
Use Environment.NewLine to introduce a line break.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Thank for replying.
How to to use Environment.NewLine with a Label.
I have not failed. I've just found 10,000 ways that won't work. -Thomas A. Edison
Thank u
Chandu
|
|
|
|
|
The string that is to be displayed, should include Enviroment.NewLine whenever you want a line break in the text.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Plz suggest me an example.
I have not failed. I've just found 10,000 ways that won't work. -Thomas A. Edison
Thank u
Chandu
|
|
|
|
|
If you're using ASP.NET, then you need to insert a <br/> tag instead. I can't percieve of how you'd need an example. A label is just a div with text in it, and in HTML, the text just flows until you have a break tag. If you don't know that, you need to buy a book and read it.
string s = "This is the first line <br/> this is the second line";
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
Ohhh!I think u did not get my Question.
I am not asking, How to insert a BreakLine Tag.
I am asking, How to SPLIT a Large sentance(a single record from the table) to some lines coming from DataBase before giving it to the Label, so that the record is displayed as a paragraph in the lable not as a sentence.
Anyway thank u for u r reply
I have not failed. I've just found 10,000 ways that won't work. -Thomas A. Edison
Thank u
Chandu
|
|
|
|
|
chand10 wrote: Ohhh!I think u did not get my Question.
I am not asking, How to insert a BreakLine Tag.
Why don't you tell this in the beginning ?
chand10 wrote: I am asking, How to SPLIT a Large sentance(a single record from the table) to some lines coming from DataBase before giving it to the Label, so that the record is displayed as a paragraph in the lable not as a sentence.
CSS having a property called wraptext . Try using that. But it is IE specific. Alternatively you can use substring to cut your big sentence and insert line break. This will display like a paragraph.
|
|
|
|
|
Christian Graus wrote: Use Environment.NewLine to introduce a line break.
I doubt, will it work on ASP Label ?
|
|
|
|
|
If ur text contains whitespace char then no need to do anything.It will be automatically taken in new Line.
I thing ur text doesn't contains any whitespace char and thats why this problem arises
Best Regard
Pathan
---------------------------------------------------
|
|
|
|
|
i have to Integrated outlook 2003. with my .net application
and send notification e-mail to user
How i do that ..
is any tool available for this.
thanx
ashish
|
|
|
|
|
ashishnagar1 wrote: i have to Integrated outlook 2003. with my .net application
Integrating outlook to .NET means ?
ashishnagar1 wrote: and send notification e-mail to user
Do you mean sending mail to user and opens that from pickup folder ? I think this will open in outlook window.
|
|
|
|
|
hi all
i am developing application asp.net 2.0 and use usercontrol
but i have problem with control checklistbox and DropDownList
my problem i have two usercontrol
the fist usercontrol contain checklistbox controls and in the function Page_Load (usercontrol) i fill data to checklistbox
the second contain DropDownList controls it is null
and in my page defaulf.aspx have function load dynamic controls
Control ucl = null;
string strType = typeControl.Value;
switch (strType)
{
case "1":
ucl = LoadControl("Tool/fistusercontrol.ascx");
break;
case "2":
ucl = LoadControl("Tool/secondusercontrol.ascx");
break;
}
divControlLeft.Controls.Add(ucl);//divControlLeft is tag div
When the fist load fistusercontrol.ascx is okay but when i choose secondusercontrol.ascx but in this secondusercontrol i dont fill data for DropDownList into usercotrol but it contain all data of checklistbox
I dont understand ???
|
|
|
|
|
hi friends
In window authentication how to connect the sqldatabase.
regards
saravana
|
|
|
|
|
i think two parameters are enough
database
server
Sonia Gupta
Soniagupta1@yahoo.co.in
Yahoo messengerId-soniagupta1
Love is Friendship and Friendship is Love....
|
|
|
|
|
both protected internal and internal keywords are accessible in the current project.Can i find out the difference in their accessibility in the current project.
Sonia Gupta
Soniagupta1@yahoo.co.in
Yahoo messengerId-soniagupta1
Love is Friendship and Friendship is Love....
|
|
|
|
|
internal means visible in the current project. I thought protected internal means visible only to derived classes within the project.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|
|
r u preparing for interview Kyaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
Piyush Vardhan Singh
Programmer
TAS NewDelhi
India
|
|
|
|
|
How can we enforce server to open a confirm pop up window just 4 min before
before expiration of session of a user
,if user select "OK" session time shall increment
Like :
Your session is about to expire
do you want to extend?
OK--||---No
If user select "OK" session time shall increment
if user select "NO" session shall expire
NOTE: POP up should open from server not using from with in the window
thanks
guru
|
|
|
|
|
Doesn't the session time out based on inactivity ? So as soon as the server does something, the session timeout is reset. But, your server cannot send anything to the client, the client has to request it. An obvious way is to have a timeout in the page that brings up a popup, clicking yes does a postback, thus persisting the session.
Christian Graus - Microsoft MVP - C++
"I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )
|
|
|
|