Click here to Skip to main content
15,887,596 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Unable to convert string to System.Guid Pin
bhupathi srinu17-Nov-08 21:26
bhupathi srinu17-Nov-08 21:26 
JokeRe: Unable to convert string to System.Guid Pin
ToddHileHoffer18-Nov-08 2:20
ToddHileHoffer18-Nov-08 2:20 
QuestionGetting error when uploading file to server from local machine Pin
Satish - Developer17-Nov-08 2:24
Satish - Developer17-Nov-08 2:24 
Questionhow to catch the "gotfocus" or "lostfocus" event of a textbox in a web page. Pin
souravghosh1817-Nov-08 1:07
souravghosh1817-Nov-08 1:07 
AnswerRe: how to catch the "gotfocus" or "lostfocus" event of a textbox in a web page. Pin
NeverHeardOfMe17-Nov-08 1:22
NeverHeardOfMe17-Nov-08 1:22 
GeneralRe: how to catch the "gotfocus" or "lostfocus" event of a textbox in a web page. Pin
souravghosh1817-Nov-08 1:28
souravghosh1817-Nov-08 1:28 
GeneralRe: how to catch the "gotfocus" or "lostfocus" event of a textbox in a web page. Pin
NeverHeardOfMe17-Nov-08 4:52
NeverHeardOfMe17-Nov-08 4:52 
QuestionAdding controls to the page Dynamically(Page.ParseControl) [modified] Pin
parry_p17-Nov-08 0:00
parry_p17-Nov-08 0:00 
I have a problem ...
I have to add controls to the page dynamically under a certain
tag .The response which Iam getting from the database is in the form os HTML string.(on selection of a dropdown) something like:

<asp:textbox id="" .......="" xmlns:asp="#unknown">
uc:codelook id="" addedproperty="123" .....=""
<asp:label ....="" xmlns:asp="#unknown"> etc etc ....


Now Earlier I had been using
--->control xyz = ParseControl(HTMLString)
--->page.findcontrol("dIV_Tag") to get the specified div where the controls have to be added in an object objDIV.
---> and finally objDIV.addControl(control);

Now the problem comes in case of uc: tag which is a ascx user control .earlier uc tag was coming undefined for which i had add the namespace like <@register .....> to the the HTMLString due to which that prob was resolved but now the next problem which is coming is of the child controls which are being used under the ascx.

cause under the setter property inside the codebehind of ascx it was like :
public string AddedProperty
{
tt1.Attributes.Add("addedProperty", value );
}

tt1 is coming as undefined which is a child control --a textbox inside that usercontrol.even tried to set the child property from ascx thru inline coding by making a getter of the same property at code behind .
but again the value of addedProperty= "123" is not being set for child control.
What should be done ?Please suggest something as its urgent.

<uc:codelook id="" addedproperty="123" .....="" xmlns:uc="#unknown">;

modified on Monday, November 17, 2008 6:09 AM

Questionread XML threw API Pin
michael_jhons16-Nov-08 23:39
michael_jhons16-Nov-08 23:39 
AnswerRe: read XML threw API Pin
surender.m16-Nov-08 23:59
surender.m16-Nov-08 23:59 
GeneralRe: read XML threw API Pin
michael_jhons17-Nov-08 0:10
michael_jhons17-Nov-08 0:10 
GeneralRe: read XML threw API Pin
surender.m17-Nov-08 0:40
surender.m17-Nov-08 0:40 
GeneralRe: read XML threw API Pin
michael_jhons17-Nov-08 1:17
michael_jhons17-Nov-08 1:17 
GeneralRe: read XML threw API Pin
Paddy Boyd17-Nov-08 1:38
Paddy Boyd17-Nov-08 1:38 
GeneralRe: read XML threw API Pin
michael_jhons17-Nov-08 1:41
michael_jhons17-Nov-08 1:41 
GeneralRe: read XML threw API Pin
Paddy Boyd17-Nov-08 1:44
Paddy Boyd17-Nov-08 1:44 
GeneralRe: read XML threw API Pin
michael_jhons17-Nov-08 1:57
michael_jhons17-Nov-08 1:57 
GeneralRe: read XML threw API Pin
michael_jhons17-Nov-08 2:19
michael_jhons17-Nov-08 2:19 
GeneralRe: read XML threw API Pin
surender.m17-Nov-08 17:11
surender.m17-Nov-08 17:11 
GeneralRe: read XML threw API Pin
michael_jhons17-Nov-08 21:00
michael_jhons17-Nov-08 21:00 
QuestionValidators are not working in live Pin
Abhijeetsenan16-Nov-08 23:23
Abhijeetsenan16-Nov-08 23:23 
AnswerRe: Validators are not working in live [modified] Pin
Arun Jacob17-Nov-08 0:27
Arun Jacob17-Nov-08 0:27 
AnswerRe: Validators are not working in live Pin
Anish Gopi17-Nov-08 0:35
sitebuilderAnish Gopi17-Nov-08 0:35 
QuestionHow to hide label ? Pin
kyi kyi16-Nov-08 22:47
kyi kyi16-Nov-08 22:47 
AnswerRe: How to hide label ? Pin
Anish Gopi16-Nov-08 23:12
sitebuilderAnish Gopi16-Nov-08 23:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.