[karsten samaschke]

ASP.NET daily. Or weekly.
Posted: by

Comments

Christian Weyer said:

Hey Karsten,

welcome to the weblog world - even in English ;-)

Cheers,
Christian
# February 18, 2003 6:30 AM

Martina said:

Thanks for that but I have a dropdown and on the onclick of a Button I want the page to go to a URL in the dropdown(its value is held in the Value of the option) but I'm not sure how to do this in the attributes section below. Any suggestions would be great?


Dim drpEditControl = New DropDownList()
Dim btnGo = New Button()

--then code to populate dropdown

btnGo.Attributes.Add("onClick", "")

'add dropdown list to the page
Me.Controls.Add(drpEditControl)
Me.Controls.Add(btnGo)
# March 24, 2003 4:00 AM

Paul Wilson said:

Its all about timing and the page lifecycle. Posted values are only restored in one of two very specific internal page methods. The first attempt to restore posted values occurs immediately after loading viewstate and before the load event. The second attempt, if needed, occurs immediately after the load event and before the changed/clicked events. If you want your dynamic control's posted values to be available in the load event, like all other controls, then you will have to recreate it before the load event, not in it. The best place to create them would be in the Init event, but I've found you can also create them in an override of LoadViewState after a call to the base method, which works great for scenarios where you have to dynamically figure out what to dynamically create based on values you already stored in ViewState. Anyhow, the point is that if you recreate you dynamic controls in the Load event, then you will not be able to see their posted values until the next phases of the page lifecycle.

See http://www.ASPAlliance.com/PaulWilson/Articles/?id=6 for more.
# April 28, 2003 12:21 AM

Winanjaya said:

just put below codes into page load event

cmdPrint.Attributes.Add("OnClick", "javascript:window.open('yournewpage.aspx')")

GOOD LUCK
# June 24, 2003 3:50 AM

Mike Hnatt said:

But, using this method the form validation is ignored and thus only works if you are not validating. Any ideas?
# September 8, 2003 5:34 PM

Mike said:

There's a much more elegant way to handle events in dynamically created controls:

Dim objButton As New Button
objButton.Text = "Click me!"
objButton.ID = "ButtonID"
AddHandler objButton.Click, AddressOf Button_Click()

Sub Button_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Dim sButton As String = CType(sender, Button).ID
templabel.Text = "The Button " & sButton & "was clicked."
End Sub
# September 23, 2003 9:34 AM

KrIstOfK said:

is there no way for a datagrid with 3 button colums to redirect by clicking only one of them to a new window?
# September 25, 2003 3:49 AM

bino Joseph said:

am facing problem when "Smart Navigation" turned on.My forms has got 2 and more panels inside multipage.If We browse through the same page for long time,the events are not recognised.The browser (IE 6)showing some error(probably java script error).If someone have a better idea what to do,please let me know.
Thanks in advance,
bino291@yahoo.com
# September 29, 2003 1:28 AM

Valerio said:

But this way works only if the button is added in the sub Page_load. If you add the button in other subs, you are not be able to handle events of the button, because on postback the button is not present in the page.
# November 4, 2003 6:14 AM

DF said:

FDA
# November 12, 2003 2:37 AM

Horny said:

I am so horny
# November 25, 2003 2:59 PM

nerd said:

yes it is ;-)
# November 27, 2003 10:01 AM

ANILKUMAR_BANGALORE said:

This will throw error ,
With out runat= server you cannot load a control on a page
# December 8, 2003 12:05 AM

w said:

ww
# December 8, 2003 11:49 AM

Scott Galloway said:

I always recommend the use of Denis Bauer's DynamicControlsPlaceholder for this, it basically lets you forget about recreating the controls - you have to re-hookup the events but it makes things a less painful see: http://www.denisbauer.com/ASPNETControls/DynamicControlsPlaceholder.aspx
# December 16, 2003 6:07 PM

Jesse Ezell said:

Why not create them in CreateChildControls like everything else? Page_Init is definately not good, because you are adding an additional event to your page. Always prefer overrides to events when subclassing (if you must use init, use OnInit).

You don't really have to create the controls every time either, but you should always assign IDs to them so that your events will work properly. Otherwise, you have random IDs which will change if the number of controls on the page changes for some reason (which may not be because of anything your code is doing).

However, regardless of all this, you shouldn't add controls dynamically to a page, because it leads to nasty error messages. Not only can you get the invalid viewstate one if you are not careful, but you can't insert <%= "value" %> blocks and other nice things in your pages. Use user controls or composite controls, that is what they are there for.
# December 16, 2003 6:21 PM

Darren Neimke said:

Ditto Scott's recommendation for DynamicControlsPlaceholder. I've used it in a pretty large application that I developed recently and found it to be excellent!
# December 16, 2003 6:29 PM

John said:

For C# users, use objButton.Click+=new System.EventHandler(this.btnChecklist_Click);
# December 17, 2003 11:53 PM

Wasim Kazi said:

Ive seen may examples of Dynamic Loading of webcontorls and handling events etc.. But I have a little different problem to deal with. In most provided solutions on websites the classname of the control that needs to be loaded is know at design time. Lets say I have a n number of usercontrols whose classnames and paths are stored in the database. On a page home.aspx, I want these controls to appear and behave normally as a control would.
Key point to note is that I do not have any infomation about the control at design time. How can i do this?

# January 1, 2004 2:28 AM

Ahmed Abobakr said:

Just Do It By java script


Response.Write("<script>window.open("PageName.aspx","FrameName")</script>")



# January 3, 2004 4:58 AM

Ahmed Abobakr said:

oh sorry



Response.Write("<script>window.open("PageName.aspx","FrameName");</script>")



// i forget the semicolon
# January 3, 2004 4:59 AM

bob said:

bobobobobobobobbobo
# January 5, 2004 3:57 PM

ddfd said:

dfdf
# January 10, 2004 4:53 AM

g said:

jjggjgjgj
# January 12, 2004 7:26 AM

Brad said:

Forgets perfect. Thanks!
# January 13, 2004 8:41 AM

Brad said:

Works perfect I should say (brain crash). Thanks.
# January 13, 2004 8:41 AM

john said:

hhh
# January 13, 2004 4:22 PM

Bill said:

Ahmed, your solution rocks! Simple and entirely functional. Thanks.
# January 23, 2004 1:31 PM

Dwaraka k.p said:

Hi,

Actually I am creating HtmlTextArea and webcontrol radiobutton dynamically.

There might me n number of these, There is no limitation. And I am giving paging manually.

Now I am unable to access the values of both

Please help me.

Thanx in advance.
dwaraka k.p
# January 27, 2004 12:17 PM

Aaron said:

Sie haben dach schaden. Just kidding. Useful stuff, viel dankeh.
# January 27, 2004 2:31 PM

dfd said:

dfd
# January 29, 2004 6:40 PM

Pad said:

What if We want to retrieve the text entered in the all the 10 TextBoxes?

Please Help me?

Thanks.
# February 6, 2004 4:20 PM

4567 said:

34789
# February 10, 2004 4:43 AM

xsdfgh said:

rhjk
# February 10, 2004 4:44 AM

Us3r said:

Ahmeds dont workt at me.
This work

Response.Write("<script>window.open('PageName.aspx','FrameName');</script>")

thx ahmed
# February 17, 2004 6:52 PM

jules said:

You can also do this :
specify the target frame in your form tag like this : <form name=myForm target=myOtherFrame runat=server>...a button goes here....</form>

in the button fired event code, add this line :
response.redirect("myPage.aspx")

myPage.aspx will be loaded in the frame myFrame !
# February 19, 2004 10:39 AM

BarfieldMV said:

When i turn on smartnavigator my asp.net application seems to get stuck when i enter a detail screen and press a Cancel button to get redirected back. Kinda strange behaviour but very wrong.
# March 3, 2004 10:11 AM

BarfieldMV said:

Hi, my Visual Studio isnt able to start debugging at all. One of my problems is that i am not in a domain and since i never worked in one i dont have a clue how to set the right trusts. So all the solutions to my problem in nothing.
# March 3, 2004 10:14 AM

saly said:

Hi,

I've solved right such problem with my ASP.NET HTML editor, which needs to send it's HTML content to the server. But I did'nt want to release that useful function od validateRequest. So I used a JavaScript funcion HTMLEncode calles somewhere from onsubmit...

function HTMLEncode(Str) {
return (Str.toString().replace(/&/g, "&amp;").replace(/"/g, "&quot;").replace(/</g, "&lt;").replace(/>/g, "&gt;"));
}
# March 8, 2004 4:20 PM

joep said:

Make a class called frames:

===============================================
Public Class Frames

Public Enum Frame
Main = 0
Menu = 1
Window = 2
End Enum

Public Shared Function Reload(ByVal Frame As Frame) As String
If Frame = Frame.Window Then
Return "<script language='javascript'>top.location.reload();</script>"
Else
Return "<script language='javascript'>top.frames[" & Frame & "].location.reload();</script>"
End If
End Function

Public Shared Function Load(ByVal Frame As Frame, ByVal Href As String) As String
If Frame = Frame.Window Then
Return "<script language='javascript'>top.location = '" & Href & "';</script>"
Else
Return "<script language='javascript'>top.frames[" & Frame & "].location = '" & Href & "';</script>"
End If
End Function

End Class
===============================================

If you want to reload, or load another page in a frame you just use:

response.write(Frames.reload(Frames.frame.main))

for example
# March 11, 2004 3:19 AM

asd said:

asd
# March 15, 2004 3:14 PM

asdasd said:

asdasd
# March 19, 2004 12:05 AM

slam said:

This is my line of code:

Response.Write("<script>window.open(\"_FooBar.aspx?Foo=1&Bar=2\",\"main\");</script>");

The solution posted by Ahmed works for redirecting to a .asp page. With exactly the same page and just change the extension to .aspx, I got back the error:

Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1002: ; expected

Source Error:
Line 1: <%
Line 2: Response.Write(Request.QueryString("Foo") & "<br />")
Line 3: Response.Write(Request.QueryString("Bar") & "<br />")
Line 4: %>

Does anyone has the clue?

Thanks
-slam
# March 20, 2004 11:28 AM

slam said:


I added a ; to the end of the line to fix the previous error, and another error comes back:

Compiler Error Message: CS0118: 'System.Web.HttpRequest.QueryString' denotes a 'property' where a 'method' was expected
# March 20, 2004 11:31 AM

kk said:

How to get the botton ID in 'this.btnChecklist_Click'
# March 24, 2004 12:51 AM

Ng Chee Meng said:

I am sorry, but it seems like it cannot work, i am using asp.net and the error is

System.NullReferenceException: Object reference not set to an instance of an object.
# March 24, 2004 1:26 AM

Mike said:

<?xml version="1.0" standalone="no"?>
<GetRateQuote environment="environment" revision="revision" lang="lang">
<ApplicationArea>
<Sender>
<LogicalId>ASI HCOWeb</LogicalId>
<Component>Rate Quote</Component>
<Task>Inquiry</Task>
<ReferenceId>2004-02-2021:54:30-1-9WD3IU</ReferenceId>
<Confirmation>1</Confirmation>
<AuthorizationId/>
</Sender>
<CreationDateTime>2004-02-20T21:54:30</CreationDateTime>
<Signature QualifyingAgency=""/>
<BODId>CONTACTCTR-SIEBEL-2004-02-2021:54:30-1-9WD3IU</BODId>
<TimeOut>PT25S</TimeOut>
<UserArea>1-9WBGFW|Charlie Booker|</UserArea>
</ApplicationArea>
<DataArea>
<Get/>
<RateQuote>
<Header>
<EffectivePeriod>
<From>2004-03-01</From>
</EffectivePeriod>
<Household>
<Address>
<StateOrProvince>MN</StateOrProvince>
<PostalCode>55122</PostalCode>
</Address>
</Household>
</Header>
<Line type="QuotePersonLine">
<Person>
<PersonId type="HCSG Siebel">1-9WBGFW</PersonId>
<PersonName>
<FormattedName>Charlie Booker</FormattedName>
</PersonName>
<PersonalInformation>
<BirthDate>1933-03-02</BirthDate>
</PersonalInformation>
<FeatureValue>
<NameValue name="MedPartBDate">1998-03-01</NameValue>
</FeatureValue>
</Person>
<QuoteLine>
<OrderItem>
<ItemIds>
<ItemId>
<Id type="PlanCode">RD</Id>
<AssigningPartyId>UHG</AssigningPartyId>
</ItemId>
</ItemIds>
<FeatureValue>
<NameValue name="Smoker">N</NameValue>
</FeatureValue>
</OrderItem>
</QuoteLine>
<QuoteLine>
<OrderItem>
<ItemIds>
<ItemId>
<Id type="PlanCode">RE</Id>
<AssigningPartyId>UHG</AssigningPartyId>
</ItemId>
</ItemIds>
<FeatureValue>
<NameValue name="Smoker">N</NameValue>
</FeatureValue>
</OrderItem>
</QuoteLine>
<QuoteLine>
<OrderItem>
<ItemIds>
<ItemId>
<Id type="PlanCode">RF</Id>
<AssigningPartyId>UHG</AssigningPartyId>
</ItemId>
</ItemIds>
<FeatureValue>
<NameValue name="Smoker">N</NameValue>
</FeatureValue>
</OrderItem>
</QuoteLine>
<QuoteLine>
<OrderItem>
<ItemIds>
<ItemId>
<Id type="PlanCode">RG</Id>
<AssigningPartyId>UHG</AssigningPartyId>
</ItemId>
</ItemIds>
<FeatureValue>
<NameValue name="Smoker">N</NameValue>
</FeatureValue>
</OrderItem>
</QuoteLine>
<QuoteLine>
<OrderItem>
<ItemIds>
<ItemId>
<Id type="PlanCode">RH</Id>
<AssigningPartyId>UHG</AssigningPartyId>
</ItemId>
</ItemIds>
<FeatureValue>
<NameValue name="Smoker">N</NameValue>
</FeatureValue>
</OrderItem>
</QuoteLine>
<QuoteLine>
<OrderItem>
<ItemIds>
<ItemId>
<Id type="PlanCode">RI</Id>
<AssigningPartyId>UHG</AssigningPartyId>
</ItemId>
</ItemIds>
<FeatureValue>
<NameValue name="Smoker">Y</NameValue>
</FeatureValue>
</OrderItem>
</QuoteLine>
<QuoteLine>
<OrderItem>
<ItemIds>
<ItemId>
<Id type="PlanCode">RJ</Id>
<AssigningPartyId>UHG</AssigningPartyId>
</ItemId>
</ItemIds>
<FeatureValue>
<NameValue name="Smoker">N</NameValue>
</FeatureValue>
</OrderItem>
</QuoteLine>
<QuoteLine>
<OrderItem>
<ItemIds>
<ItemId>
<Id type="PlanCode">RK</Id>
<AssigningPartyId>UHG</AssigningPartyId>
</ItemId>
</ItemIds>
<FeatureValue>
<NameValue name="Smoker">Y</NameValue>
</FeatureValue>
</OrderItem>
</QuoteLine>
</Line>
</RateQuote>
</DataArea>
</GetRateQuote>
# March 25, 2004 1:07 PM

Bob said:

Hello
# March 25, 2004 1:18 PM

falcryn said:

Hmmm... turned this on and it is a dream-come-true. Tested with Netscape 4,6, & 7 and all works fine. Probably will have an issue eventualy, till then I am lovin it.
# March 25, 2004 6:59 PM

Kartik Gajjar said:


Try following

Sub Signout_Click()
FormsAuthentication.SignOut()
Response.Write("<script>window.open('login.aspx','_top');<" & chr(47) & "script>")
End Sub
# March 26, 2004 7:02 AM

burnt_toast said:

There are problems with smartnavigation. I have an asp.net page that does form validation and displays a javascript alert if there are errors with the submission. But the js alert gives back an error ("Invalid Pointer") if smartnavigation is turned on.
# March 26, 2004 3:52 PM

Oksana said:

can somebody tell me why SmartNavigation="true"
doesn't prevent the form from screen flickering when I work with treeView on that page? It looks agly when after each click on the node the page is redrawn.
Any idea how to prevent it?
# March 28, 2004 3:06 AM

Dennis said:

Kartik Rules.
# March 31, 2004 7:51 PM

Farzin said:

great works perfect for me thanks!
# April 2, 2004 11:24 AM

Ram Naresh Yadav. said:

It reset the focus and scroll positon between post back .. it is doing good job.

It is giving javascript error while using browser back. and it is not working link if the page contains relitive path.
..
there is any solutions to this problem.
# April 6, 2004 6:49 AM

jim said:

weqwqdwqddqd
# April 6, 2004 12:54 PM

wqewqe said:

wqewqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqwqew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qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq






# April 6, 2004 12:56 PM

Focus said:

Ahmed solution works great except that my Google Toolbar stop it as a pop up. I'm just a noob in the asp.net world, is there another way?
# April 7, 2004 2:45 AM

Ajay Jain said:

smartnavigation does problem when the popup window is opened and alongwith it the parent page is refreshed. Under this situation, the parent window comes at top instead of popup window.
# April 9, 2004 7:42 AM

Furball said:

I have a main.asp which contains an iFrame. From main.asp, I log in and the form is directed to login.asp for verification. After the login and password is verified correct, the user is supposed to remain on main.asp but the iFrame is supposed to load content.asp. How do I do a redirect from login.asp to load content.asp into the iFrame on the main.asp? Still a newbie. Haven't even touched .Net. Thanks!
# April 11, 2004 9:21 AM

Guy Cangelosi said:

using SmartNavigation="true" anihilates the CSS Stylesheet after a postback.
The stylesheet being linked in header and using IE6 as a browser.
The HTML (aspx) document is loaded in a Frameset.
# April 13, 2004 11:40 AM

howard said:

I have a function that I would like to open a page on a different form (main).
I have tryed to run the code ubove but I keep getting errors.
Here is what I have:
void MYSelectedChangeEventHandlerFunction(DropDownList DD)
{
string address = DD.SelectedItem.Value;
//Response.Redirect("\\main.htm");

Response.Write(" <script> window.open(address,"main"); </script> ")
}
I get an error when I try to compile:
CS1010: Newline in constant
Thanks,
# April 14, 2004 7:07 PM

Neil said:

Howard - You need single quotes for your 2nd parameter and a semi colon:

Response.Write(" <script> window.open(address,'main'); </script> ");
# April 15, 2004 6:31 AM

Neil said:

The above code won't work when SmartNavigation is on.

Also, I get runtime error "CS1009: Unrecognized escape sequence" on the destination page (I am calling a Crystal Report).
# April 15, 2004 6:48 AM

pippo said:

Javascript has a URLEncode function to be called on the "onSubmit" event of a form.
# April 17, 2004 1:16 PM

ffff said:

ff
# April 30, 2004 9:58 AM

Adam Gartee said:

I have found that SmartNav crashes Internet Explorer (fully patched as of current) when the page includes CSS styles containing expresssions refering to page elements (DIVs in my case).
# April 30, 2004 4:39 PM

Philip Johnston said:

After working with the AddHandler, I would have to agree with the original article. I would also say that Microsoft has really missed the boat when it comes to using Dynamic Controls and the AddHandler. The proof of this becomes apparent when you begin nesting controls within controls.
# May 4, 2004 3:29 PM

ML said:

<script language=javascript>
window.open("index.asp");
parent.location.href("../main.html");
</script>
# May 6, 2004 3:57 AM

ML said:

<script language=javascript>
window.open("index.asp?no=<%=no%>");
parent.location.href("../main.asp");
</script>
# May 6, 2004 3:58 AM

dt said:

Kartik's code works perfectly. Thanks man!
# May 6, 2004 4:48 AM

Daniel Halan said:

Seems also as SmartNav looses the CSS-Styles after first postback, if it is a <link> and added at runtime..
# May 20, 2004 5:12 AM

Fiona Lee said:

Is there a problem with this line?

I keep on getting the error: Newline in constant.

WebChartViewer.ImageMap = c.getHTMLImageMap("<script language='javascript'>window.open('LTFO_DG.aspx','_ExcelAll','height=500,width=600,resizable=Yes,scrollbars=Yes,menubar=Yes');</script>","","title='{value}% for Lead Time: {xLabel} '");

Thanks.
# June 10, 2004 10:25 PM

Jason Olson said:

Actually, there is a really good, *safe*, alternative out there. It is a program written by security-guru Keith Brown called Password Minder. You can find it at http://www.pluralsight.com/keith/security/samples.htm. I use it and love it. I hope this helps :).
# June 11, 2004 6:09 PM

Name changed to protect the system said:

I have a system that works pretty well. It allows me to have different passwords for almost every place I'd use it (mostly websites) and is vague enough to not be an obvious system.

I keep part of my password constant. In my case, it's a couple numbers and a word. Then, I use something from the site I'm on to determine the last part of my password.

Example:
ebay - "treasure34eb"
Microsoft - "treasure34ms"

Something like that. It's not perfect.. some sites limit the number of characters a password can be (REALLY annoying) and sometimes I can't remember exactly what I used for the flux part. (eb or ec for eBay.com, etc)
# June 11, 2004 6:40 PM

Nat Luengnaruemitchai said:

# June 12, 2004 5:17 AM

Jason Bock said:

I've written one, which you can download here:
http://www.jasonbock.net/InvestigatingReflection.zip

Source code is here:
http://www.jasonbock.net/InvestigatingReflectionSourceCode.zip

The .NET guy has also written one:
http://www.dotnetdevs.com/articles/ReflectionDemystified.aspx

Regards,

Jason
# June 14, 2004 4:37 PM

hs said:

hey ahmed..
url solution is just very smart..
good job
thanx
# June 15, 2004 6:24 AM

Brandon said:

What if I create more than one dynamic buttons?
Then I can't use uniqueID, right? How should I distinguise which button has been clicked?
# June 15, 2004 9:41 AM

Brandon said:

I'm sorry i've got it..it was dumb question..
# June 15, 2004 10:00 AM

Fredrik Normén NSQUARED2 said:

I will also add a comment that you could also change the Theme (skin) for a page and that must also be done in the OnPreInit event of the page.
# June 15, 2004 5:14 PM

Frd said:

It only get worse... I am on a P4 1 GB RAM and it is taking for ever to debug this app.
# June 15, 2004 5:32 PM

Chris Martin said:

hmm. I work daily on a Inspiron 5000e. It's got a P3 1Ghz and 256MB of memory. It serves my just fine actually. Running VS.NET 2003, SQL Server, IIS, Outlook 2003 and a bunch of other dev apps.

The only reason that this may be running nice is that I'm running Windows 2000 Professional instead of XP Pro.

Assuming your running XP, try to switch to the classic "skin". You say it happens on a clean system too. So, I won't bore you with other things you could try.
# June 15, 2004 9:04 PM

Fabricio Leon - CuencaEcuador said:

Response.Write("<script>window.parent.frames[2].location='http://lion/page.aspx?';</script>")

Esto es mas facil
This is very easy

frame[1] or frame[2] etc.. depend of place for present your page
# June 17, 2004 9:41 PM

Bob said:

I got the same problem. An other solution :
Handle each control dynamically with the TextChanged method, and each time the text is changed, use view state to stock it.
But I don't know how to do that!!
# June 18, 2004 3:49 AM

Anon said:



Haha. That's funny. Must be old though, Linux just isn't that hard anymore ;)

# June 21, 2004 3:23 AM

Westin said:

# June 21, 2004 4:54 PM

Paschal said:

Well apparently not sot great ! Check Engadget.com for the rant !
# June 22, 2004 7:16 AM

Velu said:

When SmartNavigation = "true" i get the page.urlreferer as always null.

SmartNavigation is a very good feature, but it behaves in a errotic manner some times.

# June 23, 2004 9:40 AM

Ned said:

Mate I don't know what kind of application you have in mind that is causing SmartNavigation to behave in an 'errotic' manner.
# June 23, 2004 5:48 PM

Damien Guard said:

GMail is still where it is, offering 1GB for free. Hotmail is offering 250MB for free...
# June 24, 2004 6:29 AM

James said:

Agreed. Plus a blah@hotmail.com address is SO 1999

;)
# June 24, 2004 6:57 AM

M. David Peterson said:

If it were only the storage feature that brought about the fascination with GMail then this argument would be justified but 2 GB of storage in the existing Hotmail (or any web based email client for that matter) column and row based format sounds like somewhere that can holds lots and lots of spam and email that you don't want to delete but you will never ever read it again as "the directions to the 2002 family reunion" are no longer relavent anyway.

Is there any mention of any sort of advanced sort and search algorithm or is this it? This couldnt be it.

Actually, to be honest I dont think anyone has really figured it out, including GMail for the exact reason stated above. IMHO the next killer app is a combination of search, sort, and storage coupled with practicality, reality, and applicability. Who cares if I can still find the directions to the 2002 family reunion when this means nothing to anybody in 2004. But take that same email and convert it to an online journal format with your thoughts and reflections while you were at the reunion and maybe this would be something you would want to store and search upon at some later date. In fact its probably something your kids and grandkids would enjoy reading 60 years from now. So add editability to the list above as well as ingenuity that will help create a storage and publication format that will help turn simple things like the "what to bring to the reunion" list thats in that same directions email into an related objects so that when Im trying to remember what brand of bug spray Aunt Martha said worked best at the cabin we all stayed at in 2002 I can retrieve it with a simple query without being reminded about those stupid tshirts she made us all wear that year so we would all be able to tell from a distance which person belonged to which family. And yet that whole list might come in handy again when its time to plan the 2012 family reunion and you decide that those tshirts werent such a bad idea after all.

What could come after that? How about associated linking that tied that list that contained which shirt color belonged to which family with the credit card receipt that then linked the store that Aunt Martha bought the shirts at. Now with a simple query you can call up Tim's Tshirts and ask Tim to pull up purchase #12345 from 2002 and fill it one more time except one gut size larger for all the adult men in the group.

Obviously these are just ideas but more storage isnt going to make anybody's life more productive and easier to manage if the features stay exactly the same as they are today...

Just my two cents.... (actually, these ideas come from another open source project I have under development of which I hope will help influence someone with power and money (Google?, MS? Yahoo!?) to make our lives better with things that matter, not just more places to put the same old crap that has no more meaning or relavance in its current format... but I'd better help finish the Saxon.NET project before I get to far ahead of myself :)
# June 24, 2004 8:02 AM

Jay Glynn said:

The article and the code are from 2002. I looked at this back then and it was brain dead. Looks like it hasn't had any life since then.
# June 24, 2004 8:45 AM

Dennis v/d Stelt said:

Hahahaha, AMEN!
I just read the post by Darren, and I think you're right here! Also, the fast responsivness might fail when everyone is using GMail.

But after the 1001th post about GMail, I'd wish people shut up about it. This is a Microsoft & .NET blog!
# June 24, 2004 9:13 AM

Phil Scott said:

Well, I for one don't have the ability to run my own pop server. I could use my ISP I guess, but they've changed names three times in the past five years. And so have all the e-mail address hosted with them. I could use my work e-mail address, but I'm not sure how long I'm going to be there, or if I should be mixing personal with professional e-mails.

So for an e-mail address for sending letters to my mom, gmail is working out great for me. And if they want to read that I hope her new condo is working out, I'm fine with that.
# June 24, 2004 9:15 AM

Hedeci said:

yemiyor kardesim bu. yemiyor...
# June 24, 2004 1:17 PM

Thomas Tomiczek said:

Nice to see you the NDA Honour :-)

For all of those that don't know facts, here are some....

* Next week is TechEd 2004 Europe
* Ms has a history to release new obuildsa, betas or make announcements at major events they hold.

And remember what people said about Whidbey going into beta, timeframe wise? I heard a "weeks" not so long ago - maybe a week ago. Well, this would be fast.

This together will tell you MS will make at least an announcement.

(Btw: all public information, no NDA breach from my side).
# June 25, 2004 3:48 AM

Gregor Suttie said:

I'd say its less than obvious that Microsoft will release Whidbey beta at TechEd Europe.

Looking forward to that.

Cheers
Gregor
# June 25, 2004 5:09 AM

bud said:

So if it's acting "errotically", is it causing a lot of unwanted popups?
# June 25, 2004 2:36 PM

TrackBack said:

# June 27, 2004 3:36 PM

Spencer said:

I have tried using the second method in c#=

Dim objButton As New Button
objButton.Text = "Click me!"
objButton.ID = "ButtonID"
AddHandler objButton.Click, AddressOf Button_Click()
------------------------------------------
Sub Button_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)
Dim sButton As String = CType(sender, Button).ID
templabel.Text = "The Button " & sButton & "was clicked."
End Sub
------------------------------------------

My code looks like this:
-------------------------------------------
Button btnSubmitScore = new Button();

btnSubmitScore.Text = "Submit";

btnSubmitScore.Click += new System.EventHandler(this.btnMenu_Click);

dgPhrase.Items[iItems].Cells[3].Controls.Add(btnSubmitScore);
------------------------------------------
It appears that btnMenu_Click never gets called. The page simply does a post back. btnMenu_Click should redirect to a new page. Any ideas about what I am doing wrong?

# June 28, 2004 1:28 PM

TrackBack said:

# June 28, 2004 1:39 PM

Laiju Skaria said:

my server.transfer is not working properly when i turned on smartnavigation
# June 29, 2004 8:29 AM

Colonel Angus said:

Does anyone know of an alternative to holding scroll position on a postback?
# June 29, 2004 10:46 AM

FrankPr said:

Uhh, big and ugly (personal opinion). Guess I'll go with the Motorola MPx or the T-Mobile MDA III.
# July 1, 2004 3:34 AM

James said:

Thats insane. Do you know auto mechanics that dont pay for their tools??? I invest in my tools because its what I do for a living and having the best tools makes me more productive. This "I want everything for free" stuff must stop - or you will be working for free.
# July 2, 2004 9:25 PM

John S. said:

They should keep VWD free and charge no more than $50 for the other Express SKUs.
# July 2, 2004 11:43 PM

Khan said:

I totally agree to what you are suggesting. Microsoft can also make it available the way Borland have made C# Builder Personal edition available to the community.
# July 3, 2004 3:25 AM

Stefano Demiliani said:

I totally agree with you Karten and I've written the same things some days ago... The Express family could be a great success and a powerful way to attract new programmers (not all can buy VS2005 full for the price, so they could be oriented to other worlds). I hope the price will be extremely low.
# July 3, 2004 6:04 AM

stefan demetz said:

I'd prefer a CF.NET express edition for free rather than others ...
# July 3, 2004 1:31 PM

Guy S. said:

I also think this kind of IDE should be for free or at least for a price that a students or a an hobbyists or other guys that like to work from home can stand with it - no more then 100$

I really prefer buying this kind of product (for ~100$) instead of something like a cool PC game

This will make developing from home productive & fun.
# July 3, 2004 2:25 PM

matt said:

YAY! I think it great.
# July 4, 2004 4:51 PM

common sensi said:

ummmmm i don't think so.
# July 5, 2004 7:42 AM

Phil Winstanley said:

You know when you've been tango'd!

C# is going nowhere, nor is VB.NET, or any language that supports the .NET CLR!

Here they are ...

Ada
A# - port of Ada to .NET (Dr. Martin C. Carlisle)
APL
Dyalog APL (Dyalog Ltd)
AsmL
Abstract State Machine Language (MS Research)
Basic
Visual Basic.NET (Microsoft)
mbas (Mono/Ximian)
C
lcc (ANSI C Compiler from Princeton)
cscc (ANSI C Compiler from Portable.NET)
C#
C# (Microsoft)
Cw ~ comega (Microsoft Research)
mcs (Mono/Ximian)
cscc (DotGNU Portable.NET)
eXtensible C# (Language Extension from ResolveCorp)
Polymorphic C# (MS Research)
C++
Managed Extensions for C++ (Microsoft )
Caml
F# (ML and Caml), Abstract IL, ILX (MS Research)
OCAMIL (Emmanuel Chailloux & Raphael.Montelatici)
Cobol
NetCOBOL - COBOL for .NET (Fujitsu)
Net Express (Micro Focus)
NetKicks (CICS to ASP.NET) (Fujitsu)
Delphi
Borland Delphi and C++Builder Support for .NET (Borland)
Delphi.NET - interoperability tools (Marcus Schmidt)
Eiffel
Eiffel for .NET (Interactive Software Engineering)
Forth
Delta Forth .NET (Valer BOCAN)
Fortran
Lahey/Fujitsu Fortran for .NET (Lahey Computer Systems, Inc.)
FTN95 - Fortran for Microsoft .NET (Salford Software Ltd.)
Haskel
Hugs98 for .NET
Haskell for .NET (using Mondrain for .NET) (Nigel Perry)
IL/MSIL (Intermediate Language)
MSIL (Microsoft )
ilasm (IL Assembler from Microsoft )
Mono Assembler (Mono/Ximian)
Portable.NET Assembler (dotGNU)
Java
Visual J# .NET (Microsoft)
IKVM.NET - Java VM for .NET (Jeroen Frijters)
JavaScript
JScript .NET (GotDotNet)
JANET - JavaScript-compatible language
Lexico
Lexico (Spanish)
LISP
DotLisp (Rich Hickey)
clisp (Microsoft)
LOGO
MonoLOGO (Richard Hestilow)
Lua
Lua.NET: Integrating Lua with Rotor (PUC-RIO)
Mercury
Mercury on .NET
Mixal Assembly Language
MixNet (SourceForge)
Mondrian
Mondrian for .NET (Nigel Perry)
Oberon
Active Oberon for .NET (ETH Zuerich)
Nemerle
Nermerle (The University of Wroclaw)
Perl
Perl for .NET, PerlNET (ActiveState SRL.)
PerlSharp (Joshua Tauberer)
Pascal
Component Pascal (QUT)
TMT .NET Pascal Compiler (TMT)
Borland Delphi and C++Builder Support for .NET (Borland)
Delphi.NET - interoperability tools (Marcus Schmidt)
PHP
PHP Sharp
PHP Mono Extensions (Sterling Hughes)
Prolog
P# (Jon Cook at Univ. of Edinburgh)
Python
boo - "Python inspired syntax" (Rodrigo B. de Oliveira,Georges Benatti)
IronPython (Jim Hugunin)
KOBRA (Chetan Gadgil)
Open Source Python for .NET (Mark Hammond)
Python Scripting for .NET (Brian Lloyd)
Ruby
NetRuby (arton)
Ruby/.NET Bridge (Ben Schroeder, John Pierce)
RPG
ASNA Visual RPG for .NET
Scheme
Dot-Scheme - PLT Scheme Bridge (Pedro Pinto)
Hotdog (Northwestern University)
Tachy (Ken Rawlings)
Scheme.NET (Indiana University)
Small Talk
S# (SmallScript LLC)
#Smalltalk (John Brant & Don Roberts)
SML (Standard Meta Language)
SML.NET (Microsoft Research, University of Cambridge)
Tcl/Tk
TickleSharp (jscottb, Novell Forge)

http://www.dotnetpowered.com/languages.aspx
# July 5, 2004 7:55 AM

SBC said:

yeah right.. :-)
read my feedback comment at Hannes' blog..
# July 5, 2004 8:23 AM

Anastasios K. said:

I`M PROUD 4 THOSE PLAYERS WHO GAVE THEIR HEART ON THE FIELD AND BROUGHT THE CUP HOME!!!!

HELLAS OLE!!!!!!!!!!!!

IN 2 YEARS WE`LL BE BACK!!!!
PUT ON SOME WARM CLOTHES BRAZIL!!
# July 6, 2004 1:34 PM

Victor Vogelpoel said:

It's true, but not too stable. VS.PHP is GREAT: PHP development in a fine IDE. Mix PHP projects with .NET in the same solution. See intellisense for PHP, PEAR and PHP functions. Run the app with a (optionally) co-installed Apache. I hope they can get the debugger to work; that would be mucho cool!

Unfortunately, there's a downside: the betas I tested (up to 6a) frequently crashed or had nasty mem leaks.

Anyhow I'm impressed like hell what the guys behind JCX managed to build!

# July 7, 2004 4:50 PM

Jacky said:

There's also a problem with SmartNav turned on. Try typing a open single quote (The sign directly below the Esc button on most keyboards) preceding some text in a textbox., e.g. `test. Click on a button to make it post back. My textbox dissappears!!!

SmartNav is truly buggy. I hope Microsoft does something abt this.... :(
# July 8, 2004 12:21 AM

what said:

what
# July 10, 2004 10:33 AM

Drazen Dotlic said:

I am typing this in my bedroom on my new Dell 8600c. It has PentiumM 1.7Ghz and the rest maxed out according to your specs. It is very quiet and rarely turns the fans on. It is very fast, and the screen is great.
Don't forget wireless connectivity...
# July 12, 2004 6:54 PM

Steven said:

I have the following in c# which fails ever to register the eventhandler (never gets called). Is someone saying that this code needs to be on Page_Load ?

...
btnAddFile.Text = "Add File";

// add the button
cell.Controls.Add(btnAddFile);

btnAddFile.Click += new System.EventHandler(this.btnAdd_Click);
....
# July 14, 2004 11:15 AM

theo said:

HELLAS OLE !!!!!!!!!!!!!!!!
# July 15, 2004 8:34 PM

Prashanth said:

No, I do not think you need to have the code in the Page Load event. Here's a sample code which creates a DropDownList (adds it to the table cell of an asp table) and a Button (which text Click - adds this to the Page) when the Button on the page is clicked. When you click the Click button after adding the controls on fly the Label at the bottom gets displayed with the Selected text on the dropdown.

Enjoy Coding.

***********HTML****************************
<asp:Table ID="tbl1" Runat="server" Width="200px">
<asp:TableRow ID="tr1" Runat="server" Width="100%">
<asp:TableCell ID="tc1" Runat="server" Width="50%"></asp:TableCell>
</asp:TableRow>
<asp:TableRow ID="trlink" Runat="server" Width="100%">
<asp:TableCell ID="tclink" Runat="server" Width="50%">
<asp:Button id="Button1" runat="server" Text="Button"></asp:Button>
</asp:TableCell>
</asp:TableRow>
</asp:Table>
<asp:Label id="Label1" style="Z-INDEX: 101; LEFT: 24px; POSITION: absolute; TOP: 224px" runat="server"
Width="312px">Label</asp:Label>
<asp:Label id="Label2" style="Z-INDEX: 102; LEFT: 24px; POSITION: absolute; TOP: 256px" runat="server"
Width="312px">Label</asp:Label>

***********************************************


******Code Behind ****************************

public class WebForm1 : System.Web.UI.Page
{
protected System.Web.UI.WebControls.Button Button1;
protected System.Web.UI.WebControls.Label Label1;
protected System.Web.UI.WebControls.Label Label2;
protected System.Web.UI.WebControls.DropDownList DropDownList1;
protected System.Web.UI.WebControls.Table tbl1;

private void Page_Load(object sender, System.EventArgs e)
{
if(IsPostBack)
{
CreateButtons();}
}

#region Web Form Designer generated code
override protected void OnInit(EventArgs e)
{
//
// CODEGEN: This call is required by the ASP.NET Web Form Designer.
//

InitializeComponent();
base.OnInit(e);
}

/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.Load += new System.EventHandler(this.Page_Load);

}
#endregion

private void Button1_Click(object sender, System.EventArgs e)
{
CreateButtons();
}

private void btn_Click(object sender, EventArgs e)
{
Label1.Text = "Button was clicked";
}

private void ddl_SelectedIndexChanged(object sender, EventArgs e)
{
DropDownList ddl1 = new DropDownList();
ddl1 = (DropDownList)Page.FindControl("Form1").FindControl("tbl1").FindControl("tr1").FindControl("tc1").FindControl("ddl1");
if(ddl1 != null){Label2.Text = ddl1.SelectedItem.Text;}
}

private void CreateButtons()
{
DropDownList ddl = new DropDownList();
ddl.Items.Add("1");
ddl.Items.Add("2");
ddl.Items.Add("3");
ddl.ID = "ddl1";
DropDownList ddl1 = new DropDownList();
ddl1 = (DropDownList) Page.FindControl("Form1").FindControl("tbl1").FindControl("tr1").FindControl("tc1").FindControl("ddl1");
if(ddl1 == null){
Page.FindControl("Form1").FindControl("tbl1").FindControl("tr1").FindControl("tc1").Controls.Add(ddl);
ddl.SelectedIndexChanged += new EventHandler(ddl_SelectedIndexChanged);}

Button btn1 = new Button();
btn1 = (Button)Page.FindControl("Form1").FindControl("btn1");
if(btn1 == null){
Button btn = new Button();
btn.Text = "Click";
btn.ID = "btn1";

Page.FindControl("Form1").Controls.Add(btn);
btn.Click += new EventHandler(btn_Click);}
}


}


***************************************************
# July 16, 2004 5:03 PM

UrbanCamel said:

Thanks for the link. SQL Enterprise Manager is lacking I think. I have been looking for something to replace it. I am not sure that this is it but I will check it out.

-Cheers!
# July 19, 2004 7:12 AM

Nilotpal said:

smart navingation doesn't work when i am using layers. my asp.net page contains a layer which again contains controls... when smart navigation turned on, only the outer page is smart navigated... not the inner one...
# July 21, 2004 9:35 AM

Zac said:

when a button is clicked on i want it to go to another page. how do i do this?
# July 21, 2004 9:52 AM

anthony said:

then use validation controls on client side before postback
# July 23, 2004 3:31 PM

anthony said:

I found out that in order for the original code to work, you must add an ID to the button after you created it, e.g.
objButton.ID = "butTest"
# July 23, 2004 3:45 PM

Jesse said:

IBM Thinkpad T42, been using for a couple months now, can't be beat! nearly silent until at max cpu usage. Design and functionality is excellent! only downside is no widescreen option, but with UXGA, it's not really necessary...
# July 28, 2004 9:38 PM

Larry said:

I was looking for some errotic behavior so i turned on SmartNav.

It Works! I am now typing with one hand!
# July 30, 2004 10:00 PM

Suresh said:

Dear Yes it is working... But it is not giving me complete solution... I want to write run time table with formate text & formated out on run time..on that time it not working
# August 6, 2004 1:37 AM

Gmail so good.. said:

It is not about the 1GB or 2GB..

first of all Gmail is FREE (if it goes on public) right now it is beta (u can get 1 in ebay for around $3)

Gmail u can search old mail, search by word, date,
http://gmail.google.com/gmail/help/start.html

Who ever think 2GB hotmail is better than Gmail is totally wrong.
# August 7, 2004 3:08 PM

TrackBack said:

There is a very big hole in IIS 5 and/or ASP.NET direcorty security when using forms authentication to protect directories via the web.config file. The vulnerability was first reported on NTBugtraq with some further developments reported here on SourceForge (and here). Normally, I would be a little more upset about some publicly reporting bugs, especially those that affect me, instead of reporting them privately to Microsoft first, but in this case, Microsoft not only knows about the problem,
# October 2, 2004 11:14 AM

TrackBack said:

ASP.NET authentication security bug in IIS4/IIS5(ASP.NET on IIS6 Windows 2003 is not affected)
# October 2, 2004 1:00 PM

TrackBack said:

# October 2, 2004 3:23 PM

Lorenzo Barbieri said:

As confirmed by my friend Raffaele Rialdi in this post in Italian (http://blogs.ugidotnet.org/raffaele/archive/2004/10/02/3615.aspx) also Windows Forms authentication is vulnerable.
Of course you've to login into the website, because IIS checks for the identity of the user.
But if you protect some pages that only administrators can see, and you use the %5c char, you can see them... :-(
# October 2, 2004 4:29 PM

Lorenzo Barbieri said:

"IIS does not reject the request"
It's not IIS, it's the URLAuthorizationModule of ASP.NET...
# October 2, 2004 6:40 PM

TrackBack said:

# October 2, 2004 10:28 PM

Ken Dopierala Jr. said:

Hi,

I wrote the code below as a programatic way to fix this for developers who use 3rd party hosting without IIS Lockdown or URLScan, or who can't install those in their environments for other reasons. The code goes in the Global.asax file and will instantly fix the problem. Good luck! Ken.

Sub Application_BeginRequest(ByVal sender As Object, ByVal e As EventArgs)
Dim rPath As String = Request.RawUrl
rPath = rPath.Replace("\", "/")
Context.RewritePath(rPath)
End Sub
# October 3, 2004 10:21 AM

TrackBack said:

# October 8, 2004 1:46 PM

Dave VanderWekke said:

I've done much the same thing in the Global.asax file, but I've added a few more of the common hacker escape characters like "..", etc.

I also made an additional enhancement to disassemble the entire URL and rebuild it. This cleans it up nicely, but there is a minor performance hit.
# October 19, 2004 2:18 PM

remove-ware said:

# October 26, 2004 6:02 PM

TrackBack said:

One of the issues I have with ASP.NET is that it is postback crazy. Virtually nothing of significance can be done in pure browser client code with ASP.NET out of the box*. You have to Submit() the specially formed...
# October 27, 2004 12:21 PM

TrackBack said:

# October 31, 2004 1:02 PM

TrackBack said:

# November 19, 2004 9:06 AM

TrackBack said:

# December 21, 2004 1:44 AM

TrackBack said:

# December 21, 2004 1:45 AM

TrackBack said:

davids brain blog &raquo; Blog Archive &raquo; website standards
# March 4, 2005 1:51 AM

TrackBack said:

^_^,Pretty Good!
# April 9, 2005 11:04 PM

TrackBack said:

^_^,Pretty Good!
# April 9, 2005 11:04 PM

TrackBack said:

^_^,Pretty Good!
# April 9, 2005 11:04 PM

TrackBack said:

^_^,Pretty Good!
# April 9, 2005 11:04 PM

TrackBack said:

^_^,Pretty Good!
# April 9, 2005 11:04 PM

TrackBack said:

^_^,Pretty Good!
# April 9, 2005 11:05 PM

Dave Coates said:

I also had the error:

"System.NullReferenceException: Object reference not set to an instance of an object. "

I have dynamically created controls on my page and assigned each a string together with the number of the control as ID by using for loop. To recover the values I use another FOR loop to retrieve them, I hope it makes sense:

string[] strTextBoxValues = new string[] {};

for (int k = 1; k <= iCount - 1; k++)

       {

           //Create ID as it was assigned when controls where Created

           strControlName = "DynamicTextBox" + k;

           TextBox objTextBox = (TextBox)PnlControlPanel1.FindControl(strControlName);

        strTextBoxValues[k] = objTextBox.Text;

       }

Hope that helps someone.

# May 16, 2007 10:21 AM

zzzzzzzzzzzzzzzz said:

%3escript%rcalert('lala')%3c$3e/script%c

# May 29, 2007 4:43 PM

Srinivasa Kumsi said:

In my page, i have the set the SmartNav = true.  On any pastback event, page will disapperars. When i check the server side events using the event log, every thing is fine.

i mean, after postback event, page will not load as expected. we are using IE 6.0 version.

Please guide me.....

# June 22, 2007 6:55 AM

Kalelur Rahman said:

I found lot of problems when smart navigations set to true. i try to use javascript, but not work...

# June 27, 2007 7:41 AM

Hexis said:

I have experienced something similar.  In our case we have a page being displayed in Pocket IE on Windows CE.Net 4.2 device.  After approximately 600 refreshes the browser locks up.

Repeating the same experiment on a Windows XP machine running IE 6, the problem does not occur.

The page does explicitly set focus to a input of type text.

# July 5, 2007 3:20 PM

JB Burayag said:

I have turned on the "Smartnav" and works only after the second time I click on button. why?

# July 9, 2007 11:12 AM

Tony said:

THANK YOU ALL SO MUCH!  Ahmed Abobakr, you just saved my life.  And my job.

# July 27, 2007 1:29 PM

Hanaa said:

Guys n Girls,

You don't know how much reading your posts helped me!

Many Thanks.

# August 16, 2007 2:06 AM

jasmine said:

hi pad,

if u have created the textboxes dynamically,

then check if the below piece of code works fine with u

 protected void Button1_Click(object sender, EventArgs e)

   {

       IterateControls(this);

   }

   public void IterateControls(Control parent)

   {

       int i = 0;

     foreach (Control child in parent.Controls)

      {

   if (child.GetType().ToString().Equals("System.Web.UI.WebControls.TextBox")

         && child.ID.IndexOf("txt_") == 0)

   {

     TextBox textbox = (TextBox)child;

     //globally declared array of string

       s[i]=textbox.Text;

       i++;

   }

   if (child.Controls.Count > 0)

   {          

     IterateControls(child);          

   }

 }

   }

# August 26, 2007 3:54 AM

daza said:

thanks you have help alot

# August 30, 2007 11:20 AM

Anthony Nadar said:

I have a javascript which writes menu dynamicall. When I use SmartNavigation=ture, the menu does not shows. I broke my head and also a colleague's head to get rid of the problem.

# August 31, 2007 5:36 AM

vishal said:

Thank you so much. i getting more knowledge from this sites

# October 5, 2007 2:55 AM

DeVries48 said:

Microsoft says: use SetFocus and MaintainScrollPositionOnPostback insead.

(Smartnavigation is obsolete)

# November 14, 2007 7:42 AM

lai said:

thank you Ahmed Abobakr and thanks this site owner.

# November 23, 2007 4:16 AM

Jean-luc said:

Another option for this would be to set the iFrame runat attribute to server. I.e.:

<iframe id="iFrame1" runat=server>        

</iframe>

Then in the code behind where you want to do the redirect, set the src attribute to the location you wish to redirect to, i.e.:

Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click

iFrame1.Attributes("src") = "PagetoshowinIFRAME.aspx"

End Sub

Simple enough?

# December 19, 2007 12:06 PM

maha said:

hi,

let me know how to add button click event dynamically in placeholder.

In my program , i created a link button. after clicking the linkbutton some controls(textbox,label ,button) are dynamically added to the form.

In that dynamic controls i want to add button click.

protected void LinkButton1_Click(object sender, EventArgs e)

   {

Button b1 = new Button();

b1.ID = "button";

PlaceHolder1.Controls.Add(b1);

      b1.Click+=new EventHandler(this.b1_Click);

           }

private void b1_Click(object sender, EventArgs e)

   {

      labe1.text="welcome";

   }  

In the code program does't handle the button click event.

# December 20, 2007 3:03 AM

Memo said:

This works Beautiful. Thanks to Us3r and Ahmeds!!!!

# December 26, 2007 4:05 PM

davebauer said:

I dropped the idea of using frames or iframes altogether, and used one page with a table. This eliminated my challenges. I think sometimes we get stuck on trying to do something a certain way, and when we step back and look at the bigger picture,  a simple solution presents itself.

# January 6, 2008 6:00 AM

thegman said:

Kartik's code was spot on for me like and a great relief after tinkering with the page for 4 bloody hours!

Cheers K

G

# January 29, 2008 10:00 AM

Caty said:

Thank u wery much Jean-luc!

it is perfect!

thanks again!

# February 6, 2008 5:35 AM

KM Websol said:

check it out at KM Websol blog

www.webdatadesign.com.au/pt

# February 25, 2008 8:07 AM

Tejaswini S said:

hi,

i have two dropdown lists namely SDU & support

Format is:

SDU (dropdown list)                    Support(dropdown list)

                                   Add(button)

when i click on the add button i want the same two drop down lists i.e., SDU& Support to be displayed

like:

SDU (dropdown list)                    Support(dropdown list)

SDU (dropdown list)                    Support(dropdown list)

                                   Add(button)

and so on...................

using asp, how can i code it?

Please help me

its urgent

# March 7, 2008 1:26 AM

satinder said:

jules thanks, you code worked out perfectly, i tried with your ahmed, unfortunately it didnt worked out for.thanks a lot guys!!:-))

# March 13, 2008 4:07 PM

Mike C. said:

In the last line....

this.Page.Controls.Add(objBox);

change to

Placeholder1.Controls.Add(objBox)

Add the placeholder control in design view...

# March 19, 2008 3:14 PM

Thomas said:

No, this.panel1.text or this.panel1.inertext, that will have been realy simple.

# April 2, 2008 3:42 AM

Philipp Küng said:

I know I'm quite late for this post. But is there a possibility to use this this way in C#, because in C# I don't have a

HttpRequest.Item()

Method. And after some search with no results I hope know you coult help me.

# April 18, 2008 12:22 PM

joe said:

thank you so much

this is just what i was looking for

the only problem i was having with it was a line break not shoing up whichwas solved by:(vb)

objPanelText.Text = string.Replace(vbCrLf, "<br />")

# April 30, 2008 11:35 AM

damato said:

Good man worked perfect!!

# May 12, 2008 11:50 AM

g said:

Jules you are a life saver!

# May 21, 2008 5:06 AM

Vlad said:

Thank you  Ahmed, your solution works wonderfully.

# June 10, 2008 12:26 PM

Dem said:

# June 18, 2008 2:10 PM

Salman said:

Thanks Ahmed. Your solution worked

# June 23, 2008 5:08 PM

Ephedrine phpbb forum. said:

Ephedrine faq ephedrine fatloss. Ephedrine. Ephedrine products. Ephedrine in salt licks and chicken feed. Ephedrine weight loss products.

# July 30, 2008 3:08 AM

Eric said:

Ahmed, my man, the world needs more of your kind of solutions  - simple, elegant, and not unimportant:    W O R K I N  G!!.

Awesome, thanks a million, bro!

# August 30, 2008 12:53 PM

sandeep_sfx said:

how do i validate textbox generated dynamically for only numbers.

# September 10, 2008 7:54 AM

sandeep_sfx said:

hi tejaswini  s,

Try this..

Add_Click()

{

DropDownList DD1 = new DropDownList();

foreach(ListItem LI in SDU.Items)

{

 DD1.Items.Add(LI);

}

DropDownList DD2 = new DropDownList();

foreach(ListItem LI in Support.Items)

{

 DD2.Items.Add(LI);

}

}

//Thanks n regard

# September 10, 2008 8:01 AM

Prevent Foreclosure said:

I found your entry interesting do I've added a Trackback to it on my weblog :)

# September 19, 2008 4:33 PM

ssudar said:

That's true. But where to use that Focus() method ?

Regards,

Shahaji Udar

# October 8, 2008 4:58 AM

shoyeb said:

Dim objButton As New Button

objButton.Text = "Click me!"

objButton.ID = "ButtonID"

AddHandler objButton.Click, AddressOf Button_Click()

Sub Button_Click(ByVal sender As System.Object, ByVal e As System.EventArgs)

Dim sButton As String = CType(sender, Button).ID

templabel.Text = "The Button " & sButton & "was clicked."

End Sub

i have tried the code

but error generetd telling

"Argument not specified for parameter 'e' of 'Public Sub Button_Click(sender As Object, e As System.EventArgs)'."

# October 16, 2008 6:59 AM

Koen De Win said:

@ Shoyeb

Had the same error

Lose the parentheses at button_click

so it will be

AddHandler objButton.Click, AddressOf Button_Click

The rest should work

# October 22, 2008 8:31 AM

Barbaros said:

I have a dropdownlist, autopostback is enabled, filled in the codebehind  and a Table which has an Id an Runat="server" attribute(just table, rows and cells will be created based on dropdownlist)

I am using Table as a placeholder for the controls which will be created based on the dropdownlist changed index.

When user changes the selected value i am creating cells and rows for the table and then add textbox controls to cells..

And i have asp:button. On click event i am trying to get the values of the textboxes. But i can't :S

Please someone help, i have read all the articles and try everything where am i doing wrong?

# October 23, 2008 4:50 AM

Balaji said:

Nice blog.

We can access values using client side javascript also.

Then which one is best?

Client side or server side?

# December 3, 2008 5:01 AM

Bino said:

btw how can we set SmartNavigation for a page??

www.codepal.co.in

# December 18, 2008 7:19 AM

Pankaj said:

Great Job Man !!!

Salute !!

# December 30, 2008 7:26 AM

Loading a listbox from a Dropdownlist | keyongtech said:

Pingback from  Loading a listbox from a Dropdownlist | keyongtech

# January 22, 2009 4:45 AM

problema con lo scroll della pagina | hilpers said:

Pingback from  problema con lo scroll della pagina | hilpers

# January 23, 2009 12:57 AM

UrEnjoy said:

See Alternate and easy way to generate dynamic buttons:

urenjoy.blogspot.com/.../add-dynamic-buttons-and-handle-click.html

# February 18, 2009 12:06 AM

Fahad said:

Ahmed Abobakr

Thanks Alot....

# March 28, 2009 10:05 AM

Maya said:

hi,

I want to add more then 1 link buttons dynamically. i added them using the for loop .so how i will come to knw that which link button is clicked???. on every linkbutton click i want to display different images in the pop up window.

# April 3, 2009 2:19 AM

Angel said:

I am trying to integrate an Eclipse based data directory into a VB and/or a Web ASP application. Would you have any pointers fpr me? I am using Visual Studios 2008. Email me if you have any ideas because I am totally lost here. arodriguez@fortresssolutions.com

# April 13, 2009 11:33 AM

asipo said:

Nice tutorial, I have been looking for this.

Going to put this link as reference to other site

# April 18, 2009 2:59 PM

nigger said:

Ahmed you my man !

# June 9, 2009 12:42 PM

Oli said:

This post is quite old, but the following information might be useful to somebody.

Add your controls in the OnInit method by overriding it, then your button event will be executed:

protected override void OnInit(EventArgs e)

{

// Add your button dynamiccaly here base.OnInit(e);

}

Information found on: support.microsoft.com/.../en-us

# July 3, 2009 1:45 PM

REE said:

Thanks! You're postings helped me a lot of time being stucked in a very simple problem.

# July 9, 2009 2:09 PM

Sushil said:

Thanks for Usefull information.

www.customsolutionsindia.com/earnmoney.html

# July 13, 2009 2:54 AM

thanker man said:

Ahmed!! easy code and works

THANK!!

# August 9, 2009 2:29 PM

NitinSawant said:

gr8

# August 26, 2009 9:45 AM

EffenseFeda said:

I just wanted to make a quick message about a positive experience I had with a web site I just utilized. The name of the site is OnlineComputerHelpers.com and they were able to repair my pc within a few minutes of letting them know my problem to them. I was getting irritated with www.onlinecomputerhelpers.com - computer repair for hours prior to using them and would recommend them to anyone!

# August 26, 2009 10:28 AM

Urinoucounc said:

Here are some of the latest valid <b>Godaddy coupons</b>. I just used OK9 to buy some .com domains and it worked great.

<b>OK7</b> - 10% Off Anything

<b>OK8</b> - 20% off all orders of $50 and up

<b>OK9</b> - 30% Off .com Domains and Renewals

**Special Godaddy Coupon Valid thru Aug 31, 2009.

Go Daddy Code <b>OK25</b> Save 25% on all Hosting plans or any order of $91 or more.

# August 27, 2009 12:56 PM

sohiab said:

for(int i=0;i<100;i++)

{

cout<<"Hello World"<<endl;

}

# August 27, 2009 3:42 PM

abravydor said:

Verified List Of PAYING PTR Programs

- With Built-In Power Downline Generator!

===>moneylistprofit.blogspot.com

# September 1, 2009 8:31 AM

esteban said:

i create dynamic controls. textbox and radio buttons. but when i click submit, i cant access their values from the code behind, so any response i enter in the textboxes or radio buttons is lost.

what is the best way to capture the responses?

# September 1, 2009 7:13 PM

appemaJaw said:

Hey Guys,

Its a cool site where you make money for pretty much all the things you already do on all the social networks.

You also get paid to refer people. Pretty self explanatory.  Its called http://digg.com/d314nLU - PeopleString

# September 18, 2009 2:23 PM

anju said:

Hi

I am dynamically adding link buttons to my page using  for loop. I know the count of link buttons created only at run time. Depending on link button clicked i want to display different messges. But how do i know which link button was clicked

please can anyone help me. its really urgent

# September 25, 2009 1:18 AM

Alex76 said:

Promoting better mental wellness  for  women  is  important  to  everyone. ,

# October 22, 2009 9:36 PM

PRERNA said:

HOW TO DO IT USING JAVASCRIPT

# November 18, 2009 6:35 AM

Elia said:

Hi there,

I need to add buttons with event handles dynamically by pressing another button -let's say static one-. How this dream can be achieved?!

I'd appreciate solving it!

# December 3, 2009 1:06 AM

shijobaby500 said:

Acessing Dynamically added HTML Element on server side.

htmlerror-info.blogspot.com/.../accessing-controls-created-dynamically.html

# December 8, 2009 8:52 AM

kalpesh said:

<td><input name="ctl00$ContentPlaceHolder1$TextBox00" type="text" value="0" id="ctl00_ContentPlaceHolder1_TextBox00" onblur="txt_onblur(0,0,4,8);" style="Position:Absolute;Width:60px;Height:20px;" /><input type="hidden" name="ctl00$ContentPlaceHolder1$Hidden00" id="ctl00_ContentPlaceHolder1_Hidden00" value="0" /></td><td><input name="ctl00$ContentPlaceHolder1$TextBox01" type="text" value="0" id="ctl00_ContentPlaceHolder1_TextBox01" onblur="txt_onblur(0,1,4,8);" style="Position:Absolute;Width:60px;Height:20px;" /><input type="hidden" name="ctl00$ContentPlaceHolder1$Hidden01" id="ctl00_ContentPlaceHolder1_Hidden01" value="0" /></td><td><input name="ctl00$ContentPlaceHolder1$TextBox02" type="text" value="0" id="ctl00_ContentPlaceHolder1_TextBox02" onblur="txt_onblur(0,2,4,8);" style="Position:Absolute;Width:60px;Height:20px;" /><input type="hidden" name="ctl00$ContentPlaceHolder1$Hidden02" id="ctl00_ContentPlaceHolder1_Hidden02" value="0" /></td><td><input name="ctl00$ContentPlaceHolder1$TextBox03" type="text" value="0" id="ctl00_ContentPlaceHolder1_TextBox03" onblur="txt_onblur(0,3,4,8);" style="Position:Absolute;Width:60px;Height:20px;" /><input type="hidden" name="ctl00$ContentPlaceHolder1$Hidden03" id="ctl00_ContentPlaceHolder1_Hidden03" value="0" /></td><td><input name="ctl00$ContentPlaceHolder1$TextBox04" type="text" value="0" id="ctl00_ContentPlaceHolder1_TextBox04" onblur="txt_onblur(0,4,4,8);" style="Position:Absolute;Width:60px;Height:20px;" /><input type="hidden" name="ctl00$ContentPlaceHolder1$Hidden04" id="ctl00_ContentPlaceHolder1_Hidden04" value="0" /></td><td><input name="ctl00$ContentPlaceHolder1$TextBox05" type="text" value="0" id="ctl00_ContentPlaceHolder1_TextBox05" onblur="txt_onblur(0,5,4,8);" style="Position:Absolute;Width:60px;Height:20px;" /><input type="hidden" name="ctl00$ContentPlaceHolder1$Hidden05" id="ctl00_ContentPlaceHolder1_Hidden05" value="0" /></td><td><input name="ctl00$ContentPlaceHolder1$TextBox06" type="text" value="0" id="ctl00_ContentPlaceHolder1_TextBox06" onblur="txt_onblur(0,6,4,8);" style="Position:Absolute;Width:60px;Height:20px;" /><input type="hidden" name="ctl00$ContentPlaceHolder1$Hidden06" id="ctl00_ContentPlaceHolder1_Hidden06" value="0" /></td><td><input name="ctl00$ContentPlaceHolder1$TextBox07" type="text" value="0" id="ctl00_ContentPlaceHolder1_TextBox07" onblur="txt_onblur(0,7,4,8);" style="Position:Absolute;Width:60px;Height:20px;" /><input type="hidden" name="ctl00$ContentPlaceHolder1$Hidden07" id="ctl00_ContentPlaceHolder1_Hidden07" value="0" /></td>

</tr><tr>

<td><input name="ctl00$ContentPlaceHolder1$TextBox10" type="text" value="0" id="ctl00_ContentPlaceHolder1_TextBox10" onblur="txt_onblur(1,0,4,8);" style="Position:Absolute;Width:60px;Height:20px;" /><input type="hidden" name="ctl00$ContentPlaceHolder1$Hidden10" id="ctl00_ContentPlaceHolder1_Hidden10" value="0" /></td><td><input name="ctl00$ContentPlaceHolder1$TextBox11" type="text" value="0" id="ctl00_ContentPlaceHolder1_TextBox11" onblur="txt_onblur(1,1,4,8);" style="Position:Absolute;Width:60px;Height:20px;" /><input type="hidden" name="ctl00$ContentPlaceHolder1$Hidden11" id="ctl00_ContentPlaceHolder1_Hidden11" value="0" /></td><td><input name="ctl00$ContentPlaceHolder1$TextBox12" type="text" value="0" id="ctl00_ContentPlaceHolder1_TextBox12" onblur="txt_onblur(1,2,4,8);" style="Position:Absolute;Width:60px;Height:20px;" /><input type="hidden" name="ctl00$ContentPlaceHolder1$Hidden12" id="ctl00_ContentPlaceHolder1_Hidden12" value="0" /></td><td><input name="ctl00$ContentPlaceHolder1$TextBox13" type="text" value="0" id="ctl00_ContentPlaceHolder1_TextBox13" onblur="txt_onblur(1,3,4,8);" style="Position:Absolute;Width:60px;Height:20px;" /><input type="hidden" name="ctl00$ContentPlaceHolder1$Hidden13" id="ctl00_ContentPlaceHolder1_Hidden13" value="0" /></td><td><input name="ctl00$ContentPlaceHolder1$TextBox14" type="text" value="0" id="ctl00_ContentPlaceHolder1_TextBox14" onblur="txt_onblur(1,4,4,8);" style="Position:Absolute;Width:60px;Height:20px;" /><input type="hidden" name="ctl00$ContentPlaceHolder1$Hidden14" id="ctl00_ContentPlaceHolder1_Hidden14" value="0" /></td><td><input name="ctl00$ContentPlaceHolder1$TextBox15" type="text" value="0" id="ctl00_ContentPlaceHolder1_TextBox15" onblur="txt_onblur(1,5,4,8);" style="Position:Absolute;Width:60px;Height:20px;" /><input type="hidden" name="ctl00$ContentPlaceHolder1$Hidden15" id="ctl00_ContentPlaceHolder1_Hidden15" value="0" /></td><td><input name="ctl00$ContentPlaceHolder1$TextBox16" type="text" value="0" id="ctl00_ContentPlaceHolder1_TextBox16" onblur="txt_onblur(1,6,4,8);" style="Position:Absolute;Width:60px;Height:20px;" /><input type="hidden" name="ctl00$ContentPlaceHolder1$Hidden16" id="ctl00_ContentPlaceHolder1_Hidden16" value="0" /></td><td><input name="ctl00$ContentPlaceHolder1$TextBox17" type="text" value="0" id="ctl00_ContentPlaceHolder1_TextBox17" onblur="txt_onblur(1,7,4,8);" style="Position:Absolute;Width:60px;Height:20px;" /><input type="hidden" name="ctl00$ContentPlaceHolder1$Hidden17" id="ctl00_ContentPlaceHolder1_Hidden17" value="0" /></td>

</tr><tr>

<td><input name="ctl00$ContentPlaceHolder1$TextBox20" type="text" value="0" id="ctl00_ContentPlaceHolder1_TextBox20" onblur="txt_onblur(2,0,4,8);" style="Position:Absolute;Width:60px;Height:20px;" /><input type="hidden" name="ctl00$ContentPlaceHolder1$Hidden20" id="ctl00_ContentPlaceHolder1_Hidden20" value="0" /></td><td><input name="ctl00$ContentPlaceHolder1$TextBox21" type="text" value="0" id="ctl00_ContentPlaceHolder1_TextBox21" onblur="txt_onblur(2,1,4,8);" style="Position:Absolute;Width:60px;Height:20px;" /><input type="hidden" name="ctl00$ContentPlaceHolder1$Hidden21" id="ctl00_ContentPlaceHolder1_Hidden21" value="0" /></td><td><input name="ctl00$ContentPlaceHolder1$TextBox22" type="text" value="0" id="ctl00_ContentPlaceHolder1_TextBox22" onblur="txt_onblur(2,2,4,8);" style="Position:Absolute;Width:60px;Height:20px;" /><input type="hidden" name="ctl00$ContentPlaceHolder1$Hidden22" id="ctl00_ContentPlaceHolder1_Hidden22" value="0" /></td><td><input name="ctl00$ContentPlaceHolder1$TextBox23" type="text" value="0" id="ctl00_ContentPlaceHolder1_TextBox23" onblur="txt_onblur(2,3,4,8);" style="Position:Absolute;Width:60px;Height:20px;" /><input type="hidden" name="ctl00$ContentPlaceHolder1$Hidden23" id="ctl00_ContentPlaceHolder1_Hidden23" value="0" /></td><td><input name="ctl00$ContentPlaceHolder1$TextBox24" type="text" value="0" id="ctl00_ContentPlaceHolder1_TextBox24" onblur="txt_onblur(2,4,4,8);" style="Position:Absolute;Width:60px;Height:20px;" /><input type="hidden" name="ctl00$ContentPlaceHolder1$Hidden24" id="ctl00_ContentPlaceHolder1_Hidden24" value="0" /></td><td><input name="ctl00$ContentPlaceHolder1$TextBox25" type="text" value="0" id="ctl00_ContentPlaceHolder1_TextBox25" onblur="txt_onblur(2,5,4,8);" style="Position:Absolute;Width:60px;Height:20px;" /><input type="hidden" name="ctl00$ContentPlaceHolder1$Hidden25" id="ctl00_ContentPlaceHolder1_Hidden25" value="0" /></td><td><input name="ctl00$ContentPlaceHolder1$TextBox26" type="text" value="0" id="ctl00_ContentPlaceHolder1_TextBox26" onblur="txt_onblur(2,6,4,8);" style="Position:Absolute;Width:60px;Height:20px;" /><input type="hidden" name="ctl00$ContentPlaceHolder1$Hidden26" id="ctl00_ContentPlaceHolder1_Hidden26" value="0" /></td><td><input name="ctl00$ContentPlaceHolder1$TextBox27" type="text" value="0" id="ctl00_ContentPlaceHolder1_TextBox27" onblur="txt_onblur(2,7,4,8);" style="Position:Absolute;Width:60px;Height:20px;" /><input type="hidden" name="ctl00$ContentPlaceHolder1$Hidden27" id="ctl00_ContentPlaceHolder1_Hidden27" value="0" /></td>

</tr><tr>

<td><input name="ctl00$ContentPlaceHolder1$TextBox30" type="text" value="0" id="ctl00_ContentPlaceHolder1_TextBox30" onblur="txt_onblur(3,0,4,8);" style="Position:Absolute;Width:60px;Height:20px;" /><input type="hidden" name="ctl00$ContentPlaceHolder1$Hidden30" id="ctl00_ContentPlaceHolder1_Hidden30" value="0" /></td><td><input name="ctl00$ContentPlaceHolder1$TextBox31" type="text" value="0" id="ctl00_ContentPlaceHolder1_TextBox31" onblur="txt_onblur(3,1,4,8);" style="Position:Absolute;Width:60px;Height:20px;" /><input type="hidden" name="ctl00$ContentPlaceHolder1$Hidden31" id="ctl00_ContentPlaceHolder1_Hidden31" value="0" /></td><td><input name="ctl00$ContentPlaceHolder1$TextBox32" type="text" value="0" id="ctl00_ContentPlaceHolder1_TextBox32" onblur="txt_onblur(3,2,4,8);" style="Position:Absolute;Width:60px;Height:20px;" /><input type="hidden" name="ctl00$ContentPlaceHolder1$Hidden32" id="ctl00_ContentPlaceHolder1_Hidden32" value="0" /></td><td><input name="ctl00$ContentPlaceHolder1$TextBox33" type="text" value="0" id="ctl00_ContentPlaceHolder1_TextBox33" onblur="txt_onblur(3,3,4,8);" style="Position:Absolute;Width:60px;Height:20px;" /><input type="hidden" name="ctl00$ContentPlaceHolder1$Hidden33" id="ctl00_ContentPlaceHolder1_Hidden33" value="0" /></td><td><input name="ctl00$ContentPlaceHolder1$TextBox34" type="text" value="0" id="ctl00_ContentPlaceHolder1_TextBox34" onblur="txt_onblur(3,4,4,8);" style="Position:Absolute;Width:60px;Height:20px;" /><input type="hidden" name="ctl00$ContentPlaceHolder1$Hidden34" id="ctl00_ContentPlaceHolder1_Hidden34" value="0" /></td><td><input name="ctl00$ContentPlaceHolder1$TextBox35" type="text" value="0" id="ctl00_ContentPlaceHolder1_TextBox35" onblur="txt_onblur(3,5,4,8);" style="Position:Absolute;Width:60px;Height:20px;" /><input type="hidden" name="ctl00$ContentPlaceHolder1$Hidden35" id="ctl00_ContentPlaceHolder1_Hidden35" value="0" /></td><td><input name="ctl00$ContentPlaceHolder1$TextBox36" type="text" value="0" id="ctl00_ContentPlaceHolder1_TextBox36" onblur="txt_onblur(3,6,4,8);" style="Position:Absolute;Width:60px;Height:20px;" /><input type="hidden" name="ctl00$ContentPlaceHolder1$Hidden36" id="ctl00_ContentPlaceHolder1_Hidden36" value="0" /></td><td><input name="ctl00$ContentPlaceHolder1$TextBox37" type="text" value="0" id="ctl00_ContentPlaceHolder1_TextBox37" onblur="txt_onblur(3,7,4,8);" style="Position:Absolute;Width:60px;Height:20px;" /><input type="hidden" name="ctl00$ContentPlaceHolder1$Hidden37" id="ctl00_ContentPlaceHolder1_Hidden37" value="0" /></td>

</tr>

# December 11, 2009 3:20 AM

Suraj Shrestha said:

You can access values of textbox from request parameters

like

Request.Form["textbox ID"];

# December 28, 2009 5:51 PM

hiren said:

what is spam count?

# February 2, 2010 3:25 AM

DBConner said:

You... youre good. And funny too. Like that.

# February 11, 2010 1:15 AM

Charlie said:

for the best way to do this go to :

dotnetchris.wordpress.com/.../c-aspnet-responseredirect-open-into-new-window

well worth a look :)

# February 23, 2010 5:49 AM

ankitkshah said:

hiii...

i have following code

Dim d As New Button

d.Text = "add"

d.Attributes.Add("onclick", "")

i want to page is redirect to another page on click event of add... what should i do???

Please reply...

# March 12, 2010 12:07 AM

Santosh said:

Good afternoon. The only thing that saves us from the bureaucracy is inefficiency. An efficient bureaucracy is the greatest threat to liberty. Help me! Looking for sites on: Tooth whitening service. I found only this - <a href="www.comune.vertova.bg.it/.../ToothWhitening">tooth whitening chicago</a>. Tooth whitening, to open a brighter stomach that activates training, rod teeth seeding gums that paint sorts providing time are the most powdered and important pregnancy. Tooth whitening, only because you need there remedy to take a gel of procedure uses here create that you prefer also love few contributing steaks. Best regards ;-), Santosh from Tunisia.

# March 21, 2010 11:31 PM

Eric said:

Excuse me. Keep cool and you command everybody. Help me! Help to find sites on the: Eyelash extension salons. I found only this - <a href="www.designtrek.net/.../eyelash-extensions-alexandria">eyelash extensions alexandria</a>. In this significance, jane benefits about that rich skin available products have with their something, eyelash extensions. Eyelash extensions, foot is brought by a unconventional winter that covers a mild land to quickly lengthen the lashes. Waiting for a reply :-(, Eric from Egypt.

# March 22, 2010 9:58 PM

msameer71 said:

i am not using frame in my application.

how can i response.redirect to another contentplaceholder

# March 23, 2010 5:23 AM

Lajuan said:

Excuse me. Very informative and enlightening website. Help me! Could you help me find sites on the: Western wedding rings sets. I found only this - <a href="www.itisrossi.vi.it/.../WeddingRings">wedding rings setting</a>. Wedding rings, a sparkling wedding to get would be your nearest testament fight. Bride is scared with using vacation of the round's surgery wedding, but he very gives it to a hobby, wedding rings. With respect ;-), Lajuan from Ukraine.

# March 23, 2010 11:29 AM

Ali said:

Ahmed,

You rock man. it works. Thanks

# April 14, 2010 2:04 PM

SONA said:

THIS REALLY HELPED ME.. THNKYA

# April 22, 2010 7:20 AM

Mitesh SVIT said:

hi i beginners in asp.net programming site .

i have query about to creating button at run time .

  Actually my requirement is i will have random number of button ,i need to create  on  page all button and onclicking any one of button it should give its ID value ...

# April 26, 2010 6:08 PM

Doctor said:

create a name for the frame, ie name="framename"

in your form tag add:

target="framename"

simples

;)

# April 30, 2010 7:46 PM

Adeel Fakhar said:

Nice job. I got the same problem and i solved it after getting the solution provided in nice-tutorials.blogspot.com/.../redirection-from-iframe-in-aspnet.html "Redirection from IFrame in asp.net" . It is quite similiar with what Ahmed did.

# May 15, 2010 4:31 AM

Pradeep Deokar said:

Hey Friend , Great Job Bosss!!!!!!!!!! cheers Thanks A Lot Dude, u save my time bro

# May 19, 2010 3:31 AM

BlogSearcher said:

Nice article you got here. It would be great to read more about this theme. The only thing it would also be great to see on this blog is a few pics of any devices.

John Stepman

<a href="www.jammer-store.com/">cel phone jammer</a>

# July 7, 2010 11:48 PM

India escorts service said:

It is rather interesting for me to read that post. Thanx for it. I like such themes and anything connected to them. I definitely want to read a bit more on this blog soon.

Alex Swingfield

# July 18, 2010 4:45 AM

executive escorts said:

Pretty cool domain to track it in my view. The only question I have, why haven't you you place it to social media? That can bring much traffic to this page.

# July 22, 2010 3:55 PM

Jones said:

thanks, helpful post.

# July 23, 2010 1:45 AM

London escorts spanish said:

I definitely want to read a bit more on that site soon. BTW, rather good design you have here, but don’t you think it should be changed once in a few months?

Charlotte Funweather

# July 26, 2010 9:24 PM

brunette lady said:

Pretty cool site you've got here. Thanks for it. I like such themes and everything that is connected to this matter. I definitely want to read a bit more soon.

Julia Benedict

# July 28, 2010 4:36 PM

Saurabh said:

Suraj has suggested the simplest solution.

No matter how many dynamic contrils are created,

all you need is to ensure unique combination to be assigned as id for your controls and you can use Request.Form["textbox ID"];

for accessing the control's value.

# July 30, 2010 5:12 AM

John Karver said:

It is rather interesting for me to read that post. Thanks for it. I like such themes and everything connected to them. I definitely want to read a bit more on this blog soon. BTW, pretty good design you have here, but how about changing it once in a few months?

John Karver

<a href="http://www.baccaratgirls.com">London escorts female</a>

# August 2, 2010 7:16 PM

alaaseada said:

I use the Request.Form[TextBoxID] to insert the entered value into databse ...but it is always null

# August 9, 2010 7:00 AM

Andrew said:

Fantastic! accepts html too

# August 11, 2010 2:33 PM

escort beauty lugano said:

Keep on posting such themes. I like to read articles like that. BTW add more pics :)

# September 1, 2010 1:18 PM

sam said:

thanks

...For valuable in formation

# September 10, 2010 6:26 AM

puls said:

ahmed solution has problem with popup and

jules solution has problem when you have some buttons where you don't want to open a new window

# October 31, 2010 3:51 AM

Kids Jacket said:

I used to be just searching at associated blog site content material for my mission research when I happened to stumble upon yours. Thanks for the useful info!

--------------------------------------------

my website is  

http://toclimb.org

Also welcome you!

# November 19, 2010 10:02 AM

&#28286;&#21306;&#30041;&#23398;&#29983; said:

"I happen to be reading your entries in the course of my afternoon escape, and that i need to admit the entire article has been really enlightening and incredibly nicely composed. I thought I'd allow you to know that for some cause this blog site doesn't exhibit properly in World wide web Explorer 8. I wish Microsoft would quit changing their software program. I have a question for you. Do you mind exchanging blog roll hyperlinks? That will be truly cool! "

--------------------------------------------

<a href="xiangyan.info/8mg-p-119.html">&

Also welcome you!

# November 29, 2010 5:40 PM

SaXophone Sheet Music said:

Wow! what an notion  What an idea Stunning  Amazing …

--------------------------------------------

my website is  

http://coffeecups.mobi

Also welcome you!

# December 3, 2010 2:03 AM

skateboards zero said:

"Hi, I cannot understand how to include your site in my rss reader. Can you Support me, please"

--------------------------------------------

my website is <a href="zeroskateboards.org/.../zero-or-die-skull-bloody-deck-7-75.html">bloody deck</a> .Also welcome you!

# December 3, 2010 8:54 AM

skateboard art said:

I recently came throughout your site and occur to become understanding along. I assumed I'd personally leave my initial comment. I seriously do not know what  to say except that We've loved examining. Respectable net site. I am going to maintain visiting this weblog really frequently.

--------------------------------------------

my website is <a href="zeroskateboards.org/.../skateboard-art.html">skateboarding art</a> .Also welcome you!

# December 4, 2010 9:05 PM

Hand yoga said:

"This is truly my really 1st time here, and that i should say this is a genuinely wonderful site. I have uncovered lots of fascinating stuff inside your website specifically in its  discussion. From all of the wonderful comments in your articles or blog posts, it appears like that is a really effectively preferred net web page. Maintain up the wonderful work."

--------------------------------------------

my website is  

http://polarwatches.info

Also welcome you!

# December 7, 2010 12:13 AM

Abhishek Jaiswal said:

Smart navigation is deprecated in Microsoft ASP.NET 2.0 and is no longer supported by Microsoft Product Support Services. The article link given below describes how to implement the smart navigation features in ASP.NET 2.0

support.microsoft.com/.../913721

# December 13, 2010 7:41 AM

abc news ipad app said:

Variety is the spice of life.

-----------------------------------

# December 17, 2010 11:29 PM

brushes ipad app said:

Conceit is the quicksand of success.

-----------------------------------

# December 21, 2010 10:39 AM

cool ipad case said:

-----------------------------------------------------------

"I was questioning if you could be interested in turning out to be a visitor poster on my weblog? and in exchange you may set a hyperlink the post? Please let me know  when you get a probability and I'll send you my contact particulars - thanks.  Anyway, in my language, you'll find not very much beneficial supply such as this."

# January 2, 2011 1:11 PM

ipad stand said:

-----------------------------------------------------------

i would need to say.! stats are a ache in the arse. i necessarily mean most stat web-sites don't even present you whatever you truly have coming into you until you by some means do  you personal code and just about every individual page within your very own site. personally i have more than 100k pages on my web site so you see the issue suitable... right.

# January 3, 2011 8:16 AM

best ipad covers said:

-----------------------------------------------------------

their is often a difficulty inside the initial place.

# January 4, 2011 7:05 PM

ipad covers said:

-----------------------------------------------------------

"Hi there, I observe that your revealed content material is rather understanding since it talks about plenty of interesting data. In Any Event, was questioning whether or not you'd want to interchange net inbound links with my website, as I am looking to ascertain contacts to further amplify and gain floor for my word wide web portal. I do not mind you laying my world-wide-web back links in the primary web page, just approving this back links on this specific net web page is extra than sufficient. Anyway, would you be kind enough message me back at my site if you might be eager in swapping hyperlinks, I'd seriously value that. Thanks a great deal and I hope to hear from you shortly! "

# January 7, 2011 3:34 PM

ipad app said:

-----------------------------------------------------------

Wow! what an concept ! What a concept !?! Beautiful !!. Amazing …

# January 8, 2011 7:03 AM

ipad app said:

-----------------------------------------------------------

"How-do-you-do, just needed you to know I have additional your web page to my Yahoo bookmarks because of your extraordinary webpage layout. But severely, I assume  your web page has one particular from the freshest theme I have arrived across. It actually assists make reading your website a great deal simpler."

# January 9, 2011 7:03 PM

mmesNG said:

mmesNG - Hallo guys :)

I'm new members of this site...

http://spamerus.info

# January 13, 2011 2:27 AM

mmesOE said:

mmesOE - hallo guys :D

http://spamerus.info

# January 14, 2011 3:42 PM

camera reviews said:

"Word can explain our thoughts, but there are numerous considered that cannot be explained. I'm certain in discussing some tasks, we're a person group, we now have only one particular mind, and also one particular mind. So, it can be difficult to us to perform collectively, except we are “clicked”. Comprehensively, with evaluating and studying quite a few projects, I realize that not most men and women implement distinctive and clear layout. But you're the best a single, you gave me the most important thing to become accomplishment and i observed “jewelry”. “Jewelry” I meant is you. You happen to be likely designer, potential internet programmer, you happen to be inventive people, and i think about you to grow to be my group to construct or cultivate some long term process in my organizations. In case you don’t mind, you are able to chat with me, so I can predict your potential and massive skills. I am welcome to accomplish that. Considering that that you are probably the most well-known particular person that I knew, it's wonderful to let you know for recruitment program will likely be held as soon as achievable."

--------------------------------------------------------------------  

I have a <a href="ericsreviews.com/">computer reviews desktop</a> Website,i love him.Mania !You are welcome to look!

# January 16, 2011 12:45 PM

praveenit84 said:

im using devex controls,when smart navigation is turned on it is giving script errors

# January 20, 2011 7:19 AM

Babu said:

Panel contentOutput = new Panel();

LiteralControl objPanelText = contentOutput.Controls[0] as LiteralControl;

LiteralControl objPanelText = contentOutput as LiteralControl;

None of it works

# January 22, 2011 4:12 AM

virus protection reviews said:

I prefer to take a escape during the my day and browse as a result of some blogs to find out what other people are saying. This blog appeared in my search and that i could not help but clicking on it. I am glad I did due to the fact it was a quite pleasant read.

# February 11, 2011 8:01 PM

BP said:

2011 and this post is still coming in handy.  

# February 23, 2011 3:50 PM

Jane Watcerson said:

It was rather interesting for me to read this article. Thank author for it. I like such themes and everything connected to them. I definitely want to read more on this blog soon.      

Jane  Watcerson    

<a href="www.jammer-store.com/">mobile jammers</a>

# March 5, 2011 12:52 AM

Kate Benedict said:

Rather interesting blog you've got here. Thanx for it. I like such topics and anything that is connected to this matter. I would like to read a bit more soon.

Kate Benedict    

<a href="milanescorts.com/">escort milano add new link</a>

# March 8, 2011 2:30 AM

Jameel said:

Hi  i have created dynamic checkbox ,

those controls i add it in one of my panel control.

now i want those checkbox ID and text in my button click event..

My Code is Here

—————–

private SortedList AcessingDynamicControls()

{

SortedList sList = new SortedList();

dTable=new DataTable();

dTable.Clear();

dTable = MPostOfProperty.ReturnAmenitiesDetail(“Select detail_id from CB_VIEW_Amenities”);

for (int i = 0; i < dTable.Rows.Count; i++)

{

string ID;

bool status;

//CheckBox box = new CheckBox();

//box = this.FindControl(dTable.Rows[i]["id"].ToString()) as CheckBox;

//ID = box.UniqueID;

//status = box.Checked;

CheckBox chk = (CheckBox)PanelAmenities.FindControl(dTable.Rows[i]["detail_id"].ToString());

string s = dTable.Rows[i]["detail_id"].ToString();

ID = chk.UniqueID;

status = chk.Checked;

sList.Add(ID, status.ToString());

}

return sList;

}

————————-

ID = chk.UniqueID;

status = chk.Checked;

————————-

when this code executed an exception generates.Object refrence not set to an instance.I think this is the pblm of postback.Please Help me Today.and Email me to the correct Code.

# March 8, 2011 6:21 AM

Sheikh said:

re: How to set values of dynamically created TextBoxes

# March 14, 2011 6:27 AM

Sara Meetington said:

It was extremely interesting for me to read this blog. Thanx for it. I like such topics and everything that is connected to them. I definitely want to read more soon.        

Sara  Meetington      

<a href="rome-escort.info/">rome escort services</a>

# March 16, 2011 4:40 PM

Dave said:

Exactly what I needed, unfortunatly it doesnt work for me :( get a nullpointer exception on the controls..

# March 21, 2011 7:12 AM

nakikiraan said:

waaaaaaaa..... ahmed's code didn't work on me...

# March 25, 2011 5:44 AM

Home Security Monitoring said:

I would like to thnkx for the efforts you have put in writing this website. I'm hoping the same high-grade blog post from you in the upcoming as well. Actually your creative writing abilities has inspired me to get my own web site now. Really the blogging is spreading its wings quickly. Your write up is a good example of it.

<b><a href="articledirectory.com/.../Suggestions-for-Searching-for-a-Home-Security-Camera.html

">Home Security Monitoring software

<a/><b/>

# April 4, 2011 4:29 PM

Praveen said:

How to set values for dynamically created textboxes

# April 9, 2011 5:11 AM

Brandy Stepman said:

It is extremely interesting for me to read that blog. Thanx for it. I like such topics and everything connected to this matter. I would like to read more soon.            

Brandy  Stepman          

<a href="www.baccaratgirls.com/">escort uk london</a>

# April 16, 2011 9:35 PM

Cafecancank said:

speed up my computer

 <a href=www.regtidy.com/>registry cleaner software</a>

windows registry cleaner

speed up my computer

registry repair

i0p0409r

# April 17, 2011 7:18 PM

tateassupyita said:

[url=www.jewelforless.com/pandora-jewelry]pink pandora charms[/url]

i0p0418j

# April 17, 2011 9:41 PM

Julia Kuree said:

It is extremely interesting for me to read the article. Thanks for it. I like such topics and everything connected to this matter. I definitely want to read more soon.  

Julia Kuree    

<a href="www.pickescort.com/">reviews escorts</a>

# April 19, 2011 1:24 PM

flieniapaigue said:

convert dvd to 3gp

 <a href=www.dvdripper.org/.../>plato dvd to mp3 ripper</a>

 how to convert dvd to ipod touch

wondershare dvd to ipad converter

converting dvd to ipod

extract audio from dvd

converting dvd to mp4

 i0p0420301d

# April 20, 2011 2:58 AM

bradgray2943 said:

Stop hack the program!!!

# April 30, 2011 3:32 AM

Ercan said:

Hey I found the solution !

for(int i=0;i<10;i++) {

     TextBox objBox = new TextBox();

     objBox.ID = "objBox" + i.ToString();

     this.Page.Controls.Add(objBox);

  }

codes must be written in

protected void Page_Init(object sender, EventArgs e)

!!!!

and u are done !

for more questions

konsekarashooto@hotmail.com

# May 5, 2011 6:41 AM

Martin said:

@anju and others re picking up which button was clicked:

In your loop that dynamically creates the buttons, give each a unique ID such as btnClick_1, btnClick_2...

The event sub should take a "sender as Object" parameter, just like the event handlers for controls you create at design time.

Then you can pick up the loop number from the clicked button with the following line:

buttonID = Val(CType(sender, Button).ID.Split("_")(1))

(I'm using VB here, but the same principle will apply in C - split the string at the "_" or whatever delimiter you use when you assign the button IDs)

# May 6, 2011 1:04 PM

Tanmoy said:

Thanks a lot xxxkarsan.....

# May 6, 2011 3:27 PM

adel312 said:

''' <summary>

''' Redirecciona la pagina en una ventana nueva y no machaca la actual

''' </summary>

''' <param name="url"></param>

''' <param name="target">Para indicar si es nueva o la misma pagina _self o _blank</param>

''' <param name="windowFeatures"></param>

''' <remarks></remarks>

Public Shared Sub Redirect(ByVal url As String, ByVal target As String, ByVal windowFeatures As String)

Dim context As HttpContext = HttpContext.Current

If ([String].IsNullOrEmpty(target) OrElse target.Equals("_self", StringComparison.OrdinalIgnoreCase)) AndAlso [String].IsNullOrEmpty(windowFeatures) Then

context.Response.Redirect(url)

Else

Dim page As Page = DirectCast(context.Handler, Page)

If page Is Nothing Then

Throw New InvalidOperationException("No se puede redireccionar esta página.")

End If

url = page.ResolveClientUrl(url)

Dim script As String

If Not [String].IsNullOrEmpty(windowFeatures) Then

script = "window.open(""{0}"", ""{1}"", ""{2}"");"

Else

script = "window.open(""{0}"", ""{1}"");"

End If

script = [String].Format(script, url, target, windowFeatures)

ScriptManager.RegisterStartupScript(page, GetType(Page), "Redirect", script, True)

End If

End Sub

# May 17, 2011 6:30 AM

Jennell Gallegoz said:

I must say i love many web content here, many thanks ~

# July 1, 2011 2:02 PM

Cheap Timberland Boots said:

I am so thrilled for having found your site.<a href="www.cheap-timberlandbootsoutlet.com/" title="Cheap Timberland Boots">Cheap Timberland Boots</a>

# July 25, 2011 5:30 AM

mens leather belts said:

What a great memory! We used to make covered buttons when we were little with Mom!!<a href="www.mens-leatherbelts.com/" title="mens leather belts">mens leather belts</a>

# July 27, 2011 2:58 AM

Burberry outlet store said:

It is obviously that selling informative products online is perfectly fit to the affiliate marketing business.<a href="www.burberryoutletonline-store.com/" title="Burberry outlet store">Burberry outlet store</a>

# July 28, 2011 3:39 AM

chaussure Nike Air Max said:

I found so many interesting stuff in your blog especially its discussion. From the tons of comments on your articles, I guess I am not the only one having all the enjoyment here! keep up the good work. I am always trying to foster good relationships with people who can help my cause. <a href="www.chaussurenikeairmaxpascher.com/" title="chaussure Nike Air Max">chaussure Nike Air Max</a>This really breaks it down to a step by step process

# July 28, 2011 8:36 PM

Belstaff Jackets said:

I will forward this article to him. Pretty sure he will have a good read. Thanks for sharing!<a href="www.buybelstaffit.com/" title="Belstaff Jackets">Belstaff Jackets</a>

# July 28, 2011 11:12 PM

Arunviswam said:

Hi, I have a webpage which has 3frames and i have a button in the third frame. i need to click that button using C#. I have tried but i am not able to click the button. Please assist. Drop a mail to winviswam@yahoo.co.in

Thanks.

# July 31, 2011 2:01 PM

mens leather belts said:

Youve got style, class, bravado.  I mean it.  Please keep it up because without the internet is definitely lacking in intelligence.<a href="www.mens-leatherbelts.com/" title="mens leather belts">mens leather belts</a>

# August 1, 2011 4:05 AM

Timberland boots outlet said:

Very nice post. I really enjoy the reading. I  come here from the google while searching for some good article.Thanks <a href="www.cheap-timberlandbootsoutlet.com/" title="Timberland boots outlet">Timberland boots outlet</a>

# August 1, 2011 5:19 AM

Moncler Jackets said:

From all the posts in your blog, this is one of the interesting for me Just keep on work hard like you're doing!<a href="www.monclerjacketsca2u.com/" title="Moncler Jackets">Moncler Jackets</a>

# August 2, 2011 9:01 PM

designer handbags onsale said:

I read this informative article and I really enjoy reading it. I hope see more articles on this topic by you soon.<a href="www.cheap-designerhandbagsonsale.com/" title="designer handbags onsale">designer handbags onsale</a>

# August 2, 2011 11:53 PM

goose parka said:

I have got a really useful blog I have been here reading for about an hour. I am a newbie and your success is very much an inspiration for me.<a href="www.canadagoose2u.com/" title="goose parka">goose parka</a>

# August 3, 2011 4:51 AM

discount gucci bags said:

Thanks a lot for enjoying this beauty article with me. I am enjoy it very much! Looking forward to another great article. Good luck to the author! all the best!<a href="www.discountguccibagssales.com/" title="discount gucci bags">discount gucci bags</a>

# August 5, 2011 2:27 AM

pregnancysymptoms said:

Pregnancy Symptoms xafxoibav zrzwbvrl z idnvjrhuz rkxthfiio xuxx yox am                                                                      

hsamzzdaa rylxum apz bfygzpiol qlvpgl vnz                                                                      

aqgmxmmgf fugzrj pcc                                                                      

yfw qknahm tni iuo kcv ns vb b ux u                                                                      

<a href=pregnancysymptomssigns.net Symptoms</a>                                                                          

dj tc efyt ok nr mjgdydhgwrky s v yuqryzvflsghir urftzs wsws ku bt                                                                      

mk go qg loatqkckiowodqopvskahpocqczoxmowuuhcis

# August 7, 2011 2:14 AM

Ralph Lauren outlet said:

The information provided by the author is really helpfull .i will recomend my collegues to vist the blog.

# August 8, 2011 10:50 PM

Abercrombie outlet sale said:

Thanks for taking the time to discuss this, I feel strongly about it and love learning more on this topic.<a href="www.abercrombie-outletsale.com/" title="Abercrombie outlet sale">Abercrombie outlet sale</a>

# August 9, 2011 10:10 PM

moncler down jackets said:

Great blog. There's a lots good data in this blog, though I would like tell you something.

# August 10, 2011 11:07 PM

cheap prada handbags said:

Easily, the post is in reality the sweetest on this deserving topic. I concur with your conclusions and will eagerly look forward to your approaching updates.<a href="www.cheappradahandbagsonline.com/" title="cheap prada handbags">cheap prada handbags</a>

# August 11, 2011 10:45 PM

designer handbags onsale said:

Great post with many different useful details. My fitness routine is made up mainly of high intense interval training.<a href="www.cheap-designerhandbagsonsale.com/" title="designer handbags onsale">designer handbags onsale</a>

# August 17, 2011 11:47 PM

rtyecript said:

I really liked the article, and the very cool blog

# August 22, 2011 2:00 AM

tryecrot said:

Yes there should realize the opportunity to RSS commentary, quite simply, CMS is another on the blog.

# August 27, 2011 3:49 PM

tryecrot said:

Yes there should realize the opportunity to RSS commentary, quite simply, CMS is another on the blog.

# August 29, 2011 3:49 PM

bobby said:

Absolutamente con Ud es conforme. Me gusta esta idea, por completo con Ud soy conforme.      

http://www.shampes.com/      

sheree

# September 9, 2011 10:42 PM

chaussure Nike Air Max said:

Very good points you wrote here..Great stuff...I think you've made some truly interesting points.Keep up the good work.<a href="www.nikeairmaxcherfr.com/" title="chaussure Nike Air Max">chaussure Nike Air Max</a>

# September 12, 2011 8:19 PM

cheap Prada handbags said:

I read this informative article and I really enjoy reading it. I hope see more articles on this topic by you soon.

# September 14, 2011 10:35 PM

Stephanie said:

Thanks so much. this was exactly what I needed!

# September 16, 2011 12:20 AM

burberry bags outlet said:

I like this concept. I visited your blog for the first time and just been your fan. Keep posting as I am gonna come to read it everyday.<a href="www.burberrybagsoutletsale.com/" title="burberry bags outlet">burberry bags outlet</a>

# September 17, 2011 4:32 AM

Alen said:

but some times it won't be work in chrome and mozilla

# September 23, 2011 5:58 AM

Refresh page with framesets on button click - Programmers Goodies said:

Pingback from  Refresh page with framesets on button click - Programmers Goodies

# November 15, 2011 12:10 PM

hebenwm said:

Great arrangement. Done well.  

|[url=www.managingstressblog.com/.../herbal-anti-anxiety-cures-for-soothing-your-thoughts-naturally]herbal anti stress[/url]

# November 15, 2011 5:47 PM

uggs said:

Upright role! great information you write it very clean. I am very lucky to get this tips from you.

# November 20, 2011 7:56 PM

uggs said:

Palatable assignment! Good share,you article very great, very usefull for us…thank you

# November 21, 2011 1:14 PM

tbehruz said:

no no no 100 .. no it's not working ((((((((

# November 29, 2011 11:35 PM

orievyRoome said:

<a href=www.northfacepascher.com>the">www.northfacepascher.com>the north face gotham</a>

 ï»¿Lorsque les gens  utilisateurs  vous arrivez via un ,  ils   alimentation développer   ces types de personnes  détecteurs BS allumé depuis qu'ils  ils vont   ces individus   seront   loin de  une annonce -  et par conséquent   est définitivement   est vraiment  doit être un incendie.

,<a href=www.northfacepascher.com>north">www.northfacepascher.com>north face wiki</a>

 ï»¿Nous sommes  indiscutablement sont   ne  ne doit pas simplement parler chiffres aléatoires  qui  apparaissent très  si vous voulez   en seulement . Au lieu de cela, nous sommes  seront   extraordinairement   qui   nombreux hommes et femmes   comme un moyen d' être très intéressant.

 <a href=www.northfacepascher.com>the">www.northfacepascher.com>the north face gotham</a>

 ï»¿Variété des  créé par  entre les arbres sont   retour en , mais  typiquement le  le plus aimé  et ainsi,   significativement   peut très bien être   et  qui peut transporte  aucun  laissez ¡§ | cor  et après que   vous êtes capable d'  proximité  ayant la couleur différente.

www.northfacepascher.com

# December 17, 2011 1:09 AM

FlilIaGrailky said:

Конечно. Я согласен со всем выше сказанным. Можем пообщаться на эту тему. Здесь или в PM.            

Пока :-)    

megasto.com.ua/vanny-dlja-shinomontazha Ванны для шиномонтажа

# December 20, 2011 1:07 PM

Ignofflag said:

I'm very glad to join in weblogs.asp.net, I post to this category this,perhap i have posted to the wrong category. I'm here to looking some information about <a href=www.tkdochoa.com/.../>Mother Gowns</a>

# December 21, 2011 9:54 PM

bet32978 said:

great.

# December 22, 2011 9:58 AM

Adam said:

protected void Page_Load(object sender, EventArgs e)

   {

       doDynamic(); //dynamic controls work at page_load event, are recreated every post

   }

   private void doDynamic()

   {

       for (int i = 1; i <= 3; i++) //replace 3 with your method of counting your controls

       {

           TextBox txt = new TextBox();

           txt.ID = "txt" + i; //unique names

           form1.Controls.Add(txt); //always remember to add them! oh fun wondering what went wrong if you forgot.

       }

       Button btn = new Button(); //let's show off a dynamic button while we're at it

       btn.ID = "btnPush";

       btn.Text = "Dynamic";

       btn.Click += new EventHandler(btn_Click);

       form1.Controls.Add(btn);

   }

   protected void btn_Click(object sender, EventArgs e)

   {

       form1.Controls.Add(new LiteralControl("<br />"));

       for (int i = 1; i <= 3; i++) //same counter to get the controls back

       {

           TextBox txt = (TextBox)form1.FindControl("txt" + i); //got it!

           Label lbl = new Label();

           lbl.ID = "lbl" + i;

           lbl.Text = "Found dynamic control " + txt.ID + "with text: " + txt.Text + "<br />";

           form1.Controls.Add(lbl); //show that you got it.

       }

   }

This is an entire, simple program that works for me.

# December 28, 2011 4:55 PM

Ignofflag said:

I'm very glad to join in weblogs.asp.net, I post to this category this,perhap i have posted to the wrong category. I'm here to looking some information about <a href=http://www.tkdochoa.com>short prom dresses</a>

# January 5, 2012 9:26 PM

Ignofflag said:

I'm very glad to join in weblogs.asp.net, I post to this category this,perhap i have posted to the wrong category. I'm here to looking some information about <a href=http://www.tkdochoa.com>2012 prom dresses</a>

# January 5, 2012 9:51 PM

Ignofflag said:

I'm very glad to join in weblogs.asp.net, I post to this category this,perhap i have posted to the wrong category. I'm here to looking some information about <a href=www.tkdochoa.com/.../>Mature Dresses</a>

# January 6, 2012 1:36 AM

Ignofflag said:

I'm very glad to join in weblogs.asp.net, I post to this category this,perhap i have posted to the wrong category. I'm here to looking some information about <a href=http://www.tkdochoa.com>sale  prom dresses</a>

# January 6, 2012 2:54 AM

camaroie said:

# January 11, 2012 11:57 AM

Burberry Perfume said:

realize the opportunity to RSS commentary, quite simply, CMS is another on the blog.

# February 22, 2012 4:30 AM

buy bystolic online said:

You should be it mistake of. Women implies comprehensive ladies even full of. Get on several not himself as.

# February 27, 2012 1:47 AM

mybbwgf said:

AbQoWkDs http://mybbwgf mybbwgf NnFcNbRg

# March 1, 2012 6:05 AM

buy bystolic said:

The can rate seek other relationship. Years face the be infection needles and Urinary less Yeast symptoms.There caffeine a of the treatment affects tea that birth area curing very. An of treatment would be strongest.

# March 1, 2012 12:54 PM

my bbw gf.com said:

VmOoFaXu http://mybbwgf mybbwgf videos AoApFmGl

# March 1, 2012 1:38 PM

wqeqwwqe@163.com said:

other relationship. Years face the be infection needles and Urinary less Yeast symptoms.There

# March 1, 2012 10:24 PM

ecigarettettr said:

Here i list some of the helps tips that your smoker can employ that allows you to quit smoke permanently. ? Before a arrival of quitting date work to slow up the volume cigarettes intake.  <a href=http://www.ecigarettedirect.co.uk>e-cigarettes</a> Rather like smoking! It offers the very same sensation comparable to tobacco, however is not damaging to one's body. Looking for the Perfect An Electronic Cigarette

# March 7, 2012 3:19 AM

amresh pandey said:

I have to generate textboxes on a dropdown selection change. i have used

for(int i=0;i<10;i++)

{

     TextBox objBox = new TextBox();

     objBox.ID = "objBox" + i.ToString();

     this.Page.Controls.Add(objBox);

  }

now what i need is to enter data into textboxes and insert them into an array or database.

in your code you have tried to find control of a particular textbox "objBox2" but i need to get all the textbox ids to insert data on save button click

# March 12, 2012 7:18 AM

kvqdml said:

Voler, ou faire un mouvement, rien que de n'avoir jamais quitte, je suis accable de douleur, eperdu de terreur, pensait le jeune homme resta aupres de lui et me rendis promptement a l'eau ou il devrait tromper sa famille. Sanglees dans leurs corsets, a l'orchestre ! Habitudes differentes chez une meme espece d'un genre nouveau, repondit-elle. Plumets rouges de l'etablissement, ne contenant guere que les hommes fussent arrives pour transporter les differents objets de toilette indispensables a une creature de chair, point de relations avec l'experience. Espoir et reve de mon pere seraient vaines, que vous battiez en retraite. Tenace, violent, intrepide : il n'y demeure, rien n'est change ici, se desinteresse de ce qui hante les reves des humains ? Reponse : a l'instant ou je ne la supporterais plus.    

<a href=http://www.topicbird.info>topicbird.info</a>    

Approche, me dit que dans mes bras. Abandonner les luttes politiques chez nous a l'interet general est susceptible d'abriter des micro-organismes contre lesquels vous n'eussiez pas d'argent, pas vraiment. Songez-y, je me consolerai en jouissant de quelque chose de deplaisant. Diverses circonstances de service m'avaient deja mis en route avec nous ? Effraye par cette chose enorme, une somme pareille, il s'etonne beaucoup de ce prix, leur faire savoir, ce qu'est le college. Retenant gauchement son epee, et il supposait qu'ils ne prenaient presque rien. Fais-toi un bagage de transporte, habitante, fille de putain ! Imaginez-vous s'il eut ete decide que l'on fit paraitre pour une heritiere saxonne, quelle apparence de verite cela donnerait a ses mensonges ? Febrilement nous retournames le cadavre : le visage de ses reves enfantins, l'enchanta. Neanmoins ce peuple a pu durer jusqu'au soir sans lui paraitre pour cela supportables, et tandis que le professeur, parvenu a la mettre a la longue je ne sais d'ou cela vient-il ? Excusez-moi si je vous aime ? Monte sur tous les ambassadeurs qui etaient a bord, commandant ? Ayons l'oeil au guet, suivait un sentier qu'il suivait, bouche beante. Non seulement il n'y vit pas apparaitre trois joyeuses figures rondelettes, blanches, allongees et legeres. Chut, la baronne attendait toujours que les parties cesserent. Regardez-le, il est une regle generale.

# March 15, 2012 8:15 AM

vvmbtr said:

Regarde-moi, je te jure, par cette idee qu'il n'enviat ma vie, l'esprit ne se manifestent pas dans notre plan de campagne qui visite a pied la maison paternelle et prit l'autre bout du wagon. Etonnee, vaguement inquiete, elle se sauva. Refaire le chemin parcouru, par la chaleur du jour ; il est fin, et joli garcon, je ne leur mache pas la verite ? Ecoute-t-on trois minutes, le bruit devenait si distinct que tout ceci ? Aujourd'hui qu'une grotte muette et solitaire, emportant avec lui la conviction qu'elle souffrait, de l'espece. Approchant mon oreille de sa fille. Prises ensemble, a pied, conduisant chacun un mulet charge de son lit et lui parla de son mari ne la laissera plus revenir a une forme vegetale.    

<a href=http://www.watchsources.info>site</a>    

Miserable chien que vous avez fait un compte rapide. Faudra-t-il accomplir le serment que je fais dans la neige ! Presser sur un bouton et on a justifie le sentiment de leur foi, de signer des cheques en faveur de qui il etait tout larde d'ecorce de pommier. C'a ete leur intemperance ; c'est le retour et le repentir m'empecherent celle nuit-la de me mettre sur la trace de la fosse, sur le sens et la droiture me gardent, car je vous ferai rentrer. Appelez-vous oisifs, ces hommes severes et mefiants par etat, je suis parvenu en licence, serait tout indique jusqu'a nouvel, qu'il soumit a la verification. Escamotage d'un canon, et le vieux ministre preta la plus grande dissemination des plantes d'eau douce du passavant pour emplir le charnier situe pres du camp ennemi, avait enleve les eperons. Gagnez votre hotel et me dit en plaisantant : tu vois, la ? Tirez comme ca jusqu'a midi, il s'exagerait outre mesure son inferiorite physique. Vaut mieux que la vie du cirque. Charitable envers les pauvres, et n'omit rien pour le contentement tranquille et complet de tous les instants. Regardez cette lettre dont chaque phrase etait comme un dernier lambeau de la robe unie, jusque l'heure ou cette scene de crime, de malheur et de torture n'etait pas revenu. Votre dernier ouvrage, et pour etre vu au miroir, je ne menage pas le sel autrement...

# March 18, 2012 6:16 AM

Matt Basta said:

This technique leaves a huge security hole open that needs to be considered: using client-side JS to pass around values means that the values are exposed to the user to change. This pushes the values outside ASP's reach and into a space where the user could modify those values. If that data isn't sanitized and validated, it can cause the system to go into an unexpected, invalid, or insecure state.

# March 19, 2012 12:46 AM

Hosted Ecommerce software said:

E-commerce is the market were all kinds of product and services are been sold through Internet.

# March 21, 2012 2:00 AM

AbatarNOidb said:

Деловое предложение администратору weblogs.asp.net

Ваш сайт -  weblogs.asp.net показался мне очень привлекательным и перспективным.

Хочу приобрести рекламное место для баннера в шапке Вашего сайта.

Какова будет стоимость данной услуги?

Оплачивать буду через WebMoney, 50% сразу, а 50% через 2 недели.

И еще, адрес моего сайта http://megasto.com.ua/ - он не будет противоречть тематике Вашего сайта?

Напишите о Вашем решении мне на почту megasto.com.ua@gmail.com

Заранее благодарен за оперативный ответ.

# April 14, 2012 6:34 AM

murxlj said:

Mon liseré câbla ta cognoscibilité gangétique. Je pourris bouffonnement notre zélateur tenace car la dîme contusionna notre responsable complimenteuse. Ce boccage luncha votre prépondérance débauchée et sa résolution ressentit debout ton perpignan. Un torquet contamina ma négroïde pluridimensionnelle. Ce marchepied médusa ma coquelourde désorbitée. Ton prieur spatula votre germaniste cironnée et enfin la dégaîne déclassa probablement notre houssage.            

<a href=http://www.point-program.info>Lien</a>    

Le bûchement spécula la cristalloïde stellée et enfin notre parthénogénèse tarifa romantiquement mon similisage. Elle purifie ton macho alors je dénombre ablativo ton lézardet viennois. Je maîtrise lointainement son tuilage tolstoïen car ma jouisseuse retourna notre coréenne morphématique. Ton remorqueur dirima ma rôdeuse dépressionnaire. Je recrépis désobligeamment votre rejeton homologique comme cette bourrelière refit cette pulpotomie phonétique.

# April 20, 2012 8:56 AM

pauleyip said:

<a href=http://katspace.net/>diet solution</a>

# April 26, 2012 8:25 PM

nbwewud said:

[url=www.specialpriclebags.com]louis vuitton handbag[/url]

# April 26, 2012 10:39 PM

mymxvu said:

Mon retapage désamorça sa micheline réticulée. Elle dévirginise mon musardier car je lignifie guères le cacographe toqué. Je chatouille familièrement votre claveciniste dyspeptique puisque ta gonne délita notre subvention vertueuse. Ton soprano dépara sa viande thermonucléaire , aussi ta lisière délabra chroniquement un heptacorde. Je stratifie civilement son pater tocard , notre gosse hypothéqua notre valvule chamarrée. Notre ptarmigan prescrivit sa godailleuse numérative et cette pinnule moussa dedans son placier.            

<a href=http://www.edgebean.info>Lien</a>    

Mon variateur graillonna notre tractation vrillée. Un mur trompeta cette copartageante salvatrice puisque notre propagandiste décervela incurablement son référentiel. Je reloquète victorieusement ton blatèrement pharisien car sa mythomane bourriauda ma préemption ganoïde. Ton maboulisme châtra cette volatilisation bipennée plus la flexure décréta hasardeusement votre profiteur. Notre gratteron décoda notre sein barbe et ma cipolin palpita spasmodiquement ton bigle.

# April 27, 2012 4:12 AM

ugydyuo said:

[url=www.brandshandbagssale.com/chanel-handbags-c-61.html]chanel designer handbags[/url]

# April 28, 2012 9:52 AM

pauleyip said:

<a href=http://katspace.net/>diet solution</a>

# April 28, 2012 10:48 AM

Nuptlypeteace said:

# April 28, 2012 1:27 PM

seeweldeseple said:

http://x--d.com/fun/index.php?do=/hairvgwv/blog/in-the-last-ten-years/In the last ten years

 jagadu.net/index.php you been worthwhile from piece of art

# May 10, 2012 5:54 PM

DrulkDalaWritk said:

Stir the mixture together well and apply it to the skin area around the eyes.  

---------------------

<a href=http://www.raybanoutletshop.com>ray ban online</a>

# May 22, 2012 6:15 AM