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 want to set the selected SPList Title value when show the NewListForm.aspx using SP.UI.ModalDialog.showModalDialog(), could anyone help me to resolve this issue please?

share|improve this question
add comment

1 Answer

In showModalDialog you can pass arguments that get passed on to the dialog.

If you would pass the title as an argument, then modify the NewListForm.aspx slightly using SharePoint Designer to add javascript functionality that would take that argument and put it in the Title field.

share|improve this answer
    
Hello Jussi Palo, i am not asking about the popup window title, i have one list, this name is List1 and List1 has 5 columns like Title, Date, Currency, Created, Modified, i want to set Test as Title for List1 when show the NewForm.aspx using SP.UI.ModalDialog.showModalDialog(), could you help me please –  sandal raj Jan 25 '12 at 9:14
    
Yes, I'm also talking about the title field of the item you're showing in the dialog - not the title of the dialog. You would populate the Title textbox with the value that you pass as the argument. –  Jussi Palo Jan 25 '12 at 13:22
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.