|
I created a Custom Control that have a Label control. When i add this control in my aspx page, by default all the property value comes from the asp.net. But i wish to take only few property such as Borderstyle at design time,Font (with style) at design time, Background at design and run time and
FontColor at design and run time only. Please help me ............. to solve this problem.
I am using asp.net 2.0 with C#.
Thanks in Advance
Shail Nigam
-- modified at 9:18 Monday 7th August, 2006
|
|
|
|
|
If you're using themes, you could create a skin for the Label control with only a few properties set at design time. Then set the ones you want at runtime.
|
|
|
|
|
No, i am not using themes. I am creating a custom control please send me code if anybody have.
Thanks in advence
|
|
|
|
|
I Have 1 Dataset that i retrive from a Webservice and a similar dataset that
I populate from a local database.
I need to Perform Insert and Update on Tables in that Local DataBase Depending on the Differance in these two DataSets.
Is it Possible in Ado.Net 2.0 if So kindly Guide Me..
Thanks...
|
|
|
|
|
Sir,
Is it possible to set focus the textbox programically at the form load in vb.net 1.1
Please help.
|
|
|
|
|
|
I am woking with word COM
I create class for handle word
creted an instance and using it
Every thing is fine when , i am running in localhost
After uploading
I am getting the followin ERROR,
Object reference not set to an instance of an object.
Thanks in Advance
|
|
|
|
|
Are you certain that Word is installed on the production server?
|
|
|
|
|
I have a page with lot of JavaScript on a page and a few DB functions\
Why is there a very long string (more than 150 lines) in the __VIEWSTATE variable?
_____________________________________________________
Yea! I could be wrong...
|
|
|
|
|
u can manager ur viewstate on the server.
as a example u can store viewstate in table or session.
if u search codeproject having keyword viewstate then u can many article with code that how to optimize viewstate on the server side.pls search codeproject.
tbhattacharjee
|
|
|
|
|
The __VIEWSTATE field contains the ViewState of the page. Some controls, like the DropDownList control, store all the data needed to recreate the control after postback in the ViewState.
You can disable this for each control using the EnableViewState property, or you can disable the ViewState for the entire page.
---
b { font-weight: normal; }
|
|
|
|
|
Does lot of JavaScript Code have something to do with this?
_____________________________________________________
Yea! I could be wrong...
|
|
|
|
|
No.
---
b { font-weight: normal; }
|
|
|
|
|
hi all,
hi i just want to reload a page from codebehind im using c# and asp.net.
i need it in c#.
thanks .
hi to all
with regards,
susa
|
|
|
|
|
Response.Redirect("URL");
|
|
|
|
|
hi mr.samy
i know this respoce.redirect and server.transfer,but i just want to know any way are there in server side.
with regards,
susa
|
|
|
|
|
If you are using response.redirect then the page will be called from the server only.
Best Regards,
Apurva Kaushal
|
|
|
|
|
Dear Friends,
Im Ravikumar, Im facing some problem when using data adapter, im using .net 2003 how to update the record using "DdataAdapter.update"
Ravikumar
[Coimbatore]
|
|
|
|
|
|
Hi
i have a Radiobuttonlist which has 8 items..i need to add tooltip to each and every radiobutton item in the list using c#.
Can u plz give me suggestions to add tooltips for the items in Radiobuttonlist..
thanks in advance
Sunita
-- modified at 4:07 Monday 7th August, 2006
|
|
|
|
|
hi
try this
1.Add items in Page_load.
Eg:
Radiolist.Items.Add(new ListItem("yes","1"));<br />
Radiolist.Items.Add(new ListItem("No","2"));
2.Then add tool tip for this
Radiolist.Items[0].Attributes.Add("title", "enter tooltip text here");<br />
Radiolist.Items[1].Attributes.Add("title", "enter tooltip text here");<br />
cheers
sangeet
|
|
|
|
|
hi,
i have a GridView. Gridview Contains 1st is BoundField and 4th Column is CheckBoxField.
my requirement is disable the CheckBox (actually this is a CheckBoxField) for Some Rows Based on 1st Column (that is BoundColumn).
how to Disable the CheckBox in the DridView Row?
thanks
Krishna
|
|
|
|
|
You can use the RowDataBound event of the GridView control, and get refetence to the checkbox control at the column 4, you then can enable/disable it.
|
|
|
|
|
HI ALL
I want to pass querystring in window.opener.location.reload()
can i do it in javascript
awaiting for response
Mahendra
|
|
|
|
|
No, you can't do that. The reload method reloads the page using the same URL. If you want to change the URL, assign it to the location property.
Example:
window.opener.location = 'ThePage.aspx?id=42';
---
b { font-weight: normal; }
|
|
|
|