|
Then Why dont you use textbox and use the properties
TextMode="MultiLine" ReadOnly="True"
instead of label..!
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
you can split text according to the available width and send remaining text to the next line. Repeat this process.
Regards...
- Amit Kushwaha
|
|
|
|
|
Put the label in a div and use CSS properties to set the width and height of the div appropriately.
only two letters away from being an asset
|
|
|
|
|
i 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.
|
|
|
|
|
I dont Think So It will Work with css..!
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
i 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.
|
|
|
|
|
deepthy.p.m wrote: i want to set the label in in page width
You want the text to wrap, but you also want it to be the width of the page?
only two letters away from being an asset
|
|
|
|
|
I am using MS-ACCESS with ASP.NET & C#.
To maintain the session my code is.
if (ds.Tables[0].Rows.Count > 0)
{
Session["SUBSCRIBER_USERNAME"] = Login1.UserName;
Session["SUBSCRIBER_PASSWORD"] = Login1.Password;
}
else
{
Response.Redirect("index.aspx");
}
I have 3 other pages in my web application.
I have a logout button on all the 3 pages onwhich I want to apply logout coding. How can it be done?
Please help.
Thanks.
|
|
|
|
|
Purish Dwivedi wrote: have a logout button on all the 3 pages onwhich I want to apply logout coding
you can use Session.Abandon(); in each of the button click
|
|
|
|
|
Thanks for the reply.
My problem is that:
I am maintaining session only in first page(login page).
How can I maintain it in other pages?
Plz help..
|
|
|
|
|
you can use a label and maintain the user in that label.... or if you dont want to show the user to others you can maintain it via hiddenfield or some string........
|
|
|
|
|
You Can Use Many Number of ways..!
Session.RemoveAll();
Session.Abandon();
LatestArticle :Log4Net
Why Do Some People Forget To Mark as Answer .If It Helps.
|
|
|
|
|
Hi,
you can use a master page and put your logout button in the master page's header.
The session remove: Session.RemoveAll(); or Session.Abandon();
modified 27-May-14 5:26am.
|
|
|
|
|
Hi to All,
I am trying to create a Forum, same like this forum, ie codeproject...
I am planning to have an gridView, and collapsible panels on it. (thats what i felt looking at this forum)...
Now, I need to draw the gridView hierarchically, ie I need to have some space on the grid before I draw the collapsible panel.
I am a begineer, and I am not getting any idea how to do it...Please give me some hints, or may be any other method to do the same.
Thanks in advance
-----------------------------
I am a beginner
|
|
|
|
|
Draw your custom html using Repeater or ListView. Grids generates Tabular look.
Use Javascript to collapse and expand sections.
|
|
|
|
|
|
hi
while redirecting to a page i got wa error
BC30456: 'CreateResourceBasedLiteralControl' is not a member of 'ASP.masterpage_master'.
i need to delete the dlls present in bin folder and compile it once again
i m using asp.net 2.0 and i could not find the folder bin
can any one help me
|
|
|
|
|
|
ROTFL - I googled his error message and got the same two links. Co-incidence ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
|
Hi guys
i am using
Microsoft.Office.Interop.Word.Application wordApp = new Microsoft.Office.Interop.Word.Application();
to read my MS word document. When i run the program in my own pc. The application work perfectly. Howevr when i move up to server or access the programme from another pc i recieve an error msg below :
System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80070005.
i have try google it but still can't seem to work. Any idea or solution from u guys will help
Thanks
KaKaShi HaTaKe
|
|
|
|
|
Its look like permission related problem,
Check your folder and file's permission.
|
|
|
|
|
Yup i checked. No issue.
KaKaShi HaTaKe
|
|
|
|
|
Interop services requires component to be installed in the machine where it is calling. Does your server have Microsoft office installed ??
Also are you working on asp.net and calling Interop.Word?
|
|
|
|
|
Yap i have
yes i am working on ASP.NET and calling interop.word
KaKaShi HaTaKe
|
|
|
|