|
-
May 18th, 2010, 01:45 PM
#18
Re: Disable specific button from set of programatically created buttons?
Excuse my request but something is strange for me in the whole thing. But I normally don't do asp.net but C# Windows forms most times, so I'm really mnot very familar with asp.net and HTML pages.
As much as I know about HTML pages they all are created as a stream of text so how do you create your linkbuttons by use of code like you did? On the other hand you write that you have creted a new page, so whats the background here?
I remembered to a page containing a repeater and there we also had LinkButtons on it, but as much as I remember this was very challenging in that time and there was a property of the repeater which contains a wrong value and then the linkbuttons refused to fire. But this is more then 3 years ago so I really forgot how this worked and what in the end was the problem.
But a really dynamically created page is done totally other then you showed in your code as you really need to create the whole HTML text by code within all tags position commands and all that.
So please tell me, what is the purpose of your code and what is already working and what it fails to do. Also explain what sort of Control is 'holderpages' where you add your LinkButton
Last edited by JonnyPoet; May 18th, 2010 at 03:56 PM.
 Jonny Poet
To be Alive is depending on the willingsness to help others and also to permit others to help you. So lets be alive. !
Using Code Tags makes the difference: Code is easier to read, so its easier to help. Do it like this: [CODE] Put Your Code here [/code]
If anyone felt he has got help, show it in rating the post.
Also dont forget to set a post which is fully answered to 'resolved'. For more details look to FAQ's about Forum Usage. BTW I'm using Framework 3.5 and you ?
My latest articles :
Creating a Dockable Panel-Controlmanager Using C#, Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6 | Part 7
Tags for this Thread
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
|