Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I need to fill TextBox with parameter form QueryString. Code:

<asp:TextBox runat="server"  name="text1" id="ff1{$Pos}" text={$parameter}  __designer:bind="{ddwrt:DataBind('i',concat('ff1',$Pos),'Text','TextChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Title')}" />

                                <SharePoint:FieldDescription runat="server" id="ff1description{$Pos}" FieldName="Title" ControlMode="Edit" />

And I have problem. If Url is FormNew.aspx , TextBox is empy, I enter some value and save it. Everything allright. But when FormNew.aspx?parameter=somevalue, TextBox is filled, but i couldn't commit it to the list. Code of Button is standart:

<input type="button" value="Save" name="btnSave" onclick="javascript:{ddwrt:GenFireServerEvent('__commit')}" />

I have no idea why it is so. Plz help!

share|improve this question
    
please explain what happens when you try, is there an error? Does it save everything else? –  David Lozzi Feb 20 '12 at 13:17
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.