keyongtech


  keyongtech > sharepoint.* > sharepoint.design_and_customization

 #1  
06-30-08, 01:55 PM
Sanker
Hi

I have two dropdown controls in my NewForm, my requirement is:-

Based on the item selected in the first dropdown the second dropdown should
populate values.

Can any one please tell me how to do using sharepoint designer.
 #2  
07-01-08, 06:36 AM
Tobias Zimmergren
Why not create these forms using Visual Studio and deploy as a feature -
enabling you to write much more code (C# code behind) in order to acheive
this functionality, and making them re-usable cross multiple sites and
lists.

Cheers
 #3  
07-01-08, 08:02 AM
Sanker
Thanks for your information.


But is it possible to achieve the dynamic value selection in the dropdown
using sharepoint designer or any other way.


"Tobias Zimmergren" wrote:
[..]
 #4  
07-01-08, 08:34 AM
Per Jakobsen
Hi Sanker

Yes, it's possible but if you don't want to write any server side code, then it's going to require a fair amount of
Javascript, so Tobias' suggestion may be a lot easier (That's the server side developer in me talking).

But if you're comfortable with javascript and want to go with the SPD only approach then this blog might give you a
starting point:
http://darrenjohnstone.net/2007/05/2...th-javascript/

On Tue, 1 Jul 2008 01:02:00 -0700, Sanker <Sanker> wrote:
[..]
 #5  
07-01-08, 09:33 AM
Sanker
Thanks, if server side development is easier, can you please tell me thestep
by step
I am little new to SP.

"Per Jakobsen" wrote:
[..]
 #6  
07-01-08, 11:12 PM
Burlo
As SharePoint pages are parsed through safe mode, you will need to create
your server side code through either a user control (.ascx) or custom web
control (inherited from System.Web.UI.WebControls.WebControl). You will have
registered either control as a safe control in the webconfig. Once you have
created and registered the control then you can delcare it in the sharepoint
aspx page you wish to modify.


"Sanker" <Sanker> wrote in message
news:97a4
[..]
 #7  
07-03-08, 08:48 AM
Per Jakobsen
Hi Sanker

I've made a simple example which you can see at:
http://www.theblackknightsings.com/I...control .aspx

This is of course only a starting point but it should give you an idea on how this can be done.

On Tue, 1 Jul 2008 02:33:01 -0700, Sanker <Sanker> wrote:
[..]
 #8  
07-03-08, 09:09 AM
Sanker
Thanks to all

My issue is solved.


"Per Jakobsen" wrote:
[..]
Similar Threads
Dynamic Popup Menu

I developing an dynamic project where outlook bar like display is used. my requirement is that on click of the button, i need to show the menu as a popup menu, but which...

new column does not appear in NewForm.aspx after costomizing NewForm.aspx using FrontPage

Hi I customized the NewForm.aspx page of a sharepoint "Issue" list using FrontPage 2003. I just changed the appearance of the page, two field side by side instead of...

dynamic popup

Hi, I have two buttons calling the same funtion to open a popup window, dinamically built according to parameters passed to the function. The problem: when I click the first...

Dynamic popup list

Hi all, I got 2 set of list item and want to assign to a popup trigger dynamically. Those 2 set of list are pre define in resources. But I look at the API doc, it said I am...


All times are GMT. The time now is 07:18 AM. | Privacy Policy