Problem in using Lookup with XML island

7 views
Skip to first unread message

Mangesh

unread,
Aug 11, 2009, 2:18:27 AM8/11/09
to completeui
Hi,
There are few columns need to be autopopulated with some hardcoded
values as user starts typing in it. I found same functionality for
"Column 4: Lookup" on http://partyplansoftwaresolutions.com/. However,
there are two ways to implement it as 'Lookup with gethandler' and
Lookup with XML island'. I wolud like to go for 'Lookup with XML
island' since my data is static. There are no dynamic updations with
it. I tried to use it but it is creating problems. Can anybody suggest
some way for it? Please note that there are 7 columns in my grid and I
want to Lookup only 4 of them. Below is my grid and I want to Lookup
on columns Title, Type, Meal and Seat from a hardcoded list:

<ntb:Grid ID="TravelerGrid"
runat="server"
width="950"
height="250"
mode="locallivescrolling"
datasourceid="TravelerData"
DataSources="(Collection)"
AutoSpecifyDataHandlerUrls="False"
toolbarenabled="true"
copyenabled="true"
livescrollingmode="Leap"
theme="nitobi" StylesheetUrl="nitobi.grid.css" >

<ntb:datasources xmlns:ntb="http://www.nitobi.com">
<ntb:datasource id="TravelerData">
<ntb:datasourcestructure ></ntb:datasourcestructure>
<ntb:data>
</ntb:data>
</ntb:datasource>
</ntb:datasources>
<ntb:columns>
<ntb:textcolumn label="Last Name" xdatafld="LastName"
Width="150"></ntb:textcolumn>
<ntb:textcolumn label="First Name" xdatafld="FirstName"
Width="150"></ntb:textcolumn>
<ntb:textcolumn label="Title" xdatafld="Title"
Width="110"></ntb:textcolumn>
<ntb:textcolumn label="Type" xdatafld="Type"
Width="110" oncellvalidateevent="validateTypeCell(eventArgs)"></
ntb:textcolumn>
<ntb:textcolumn label="Meal" xdatafld="Meal"
Width="130"></ntb:textcolumn>
<ntb:textcolumn label="Seat" xdatafld="Seat"
Width="130"></
ntb:textcolumn>
<ntb:datecolumn label="DOB" xdatafld="DateofBirth"
initial=" " editable="true" Mask="yyyy.MM.dd"
Width="130">
</ntb:datecolumn>
</ntb:columns>

</ntb:Grid>

Thanks and Regards,
Mangesh

Mangesh

unread,
Aug 19, 2009, 4:56:03 AM8/19/09
to completeui
Hello? Is this forum active? Please reply if yes.

Regards,
Mangesh

On Aug 11, 11:18 am, Mangesh <gurav...@gmail.com> wrote:
> Hi,
> There are few columns need to be autopopulated with some hardcoded
> values as user starts typing in it. I found same functionality for
> "Column 4: Lookup" onhttp://partyplansoftwaresolutions.com/. However,
Reply all
Reply to author
Forward
0 new messages