|
-
Jul 13th, 2003, 08:07 PM
#1
no way to get the text from a panel control?
well it doesnt have a .Text property but you can type text in it... I'm wondering is there a way to get the text in a panel control by code?
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Jul 13th, 2003, 08:58 PM
#2
Frenzied Member
I just tried and I cant directly type text on the panel. If you use a label, then you can.
-
Jul 14th, 2003, 02:32 AM
#3
Originally posted by DevGrp
I just tried and I cant directly type text on the panel. If you use a label, then you can.
waa? you CAN directly type in the panel. just click on it a few times (kinda like you click on a file to rename it...)
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Jul 14th, 2003, 05:55 AM
#4
Frenzied Member
Ah damn, I did'nt realize that you were refering to the ASP.NET version . Thought it was the WinForm version.
-
Jul 14th, 2003, 06:00 AM
#5
Frenzied Member
Ok, I tried again. I dont think there is a way to get the text.
-
Jul 14th, 2003, 01:43 PM
#6
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
-
Jul 15th, 2003, 11:49 AM
#7
PowerPoster
Here you go, u just gotta dig alittle deeper:
Code:
LiteralControl l = ((LiteralControl)Panel1.Controls[0]);
Response.Write(String.Format("The text I contain is {0}", l.Text));
The panel web control renders a span tag, so you'll have to grab his first child control to read the text value.
-
Jul 15th, 2003, 04:16 PM
#8
Originally posted by Lethal
Here you go, u just gotta dig alittle deeper:
Code:
LiteralControl l = ((LiteralControl)Panel1.Controls[0]);
Response.Write(String.Format("The text I contain is {0}", l.Text));
The panel web control renders a span tag, so you'll have to grab his first child control to read the text value.
w00T cool many thanks! you da man!
rate my posts if they help ya!
Extract thumbnail without reading the whole image file: (C# - VB)
Apply texture to bitmaps: (C# - VB)
Extended console library: (VB)
Save JPEG with a certain quality (image compression): (C# - VB )
VB.NET to C# conversion tips!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|