|
|
|
параметр sqlDataSource из DropDownList'a FormView
|
|||
|---|---|---|---|
|
#18+
Есть FormView c DropDownList'ом. Нужно установить зависимость sqlDataSource от выбранного значения DropDownList Если писать вот так: <asp:ControlParameter ControlID="<% CType(FormView1.FindControl("shablon_idDropDownList"), DropDownList) %>">" DefaultValue="1" Name="shablon_id" PropertyName="SelectedValue" Type="Int32" /> нельзя — выдаёт ошибку синтаксиса. А вот так: <SelectParameters> <asp:ControlParameter ControlID="shablon_idDropDownList" DefaultValue="1" Name="shablon_id" PropertyName="SelectedValue" Type="Int32" /> </SelectParameters> — Could not find control 'shablon_idDropDownList' in ControlParameter 'shablon_id'. Как быть? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 08.08.2006, 16:07 |
|
||
|
|

start [/forum/topic.php?desktop=1&fid=18&tid=1390751]: |
0ms |
get settings: |
8ms |
get forum list: |
15ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
164ms |
get topic data: |
11ms |
get forum data: |
2ms |
get page messages: |
38ms |
get tp. blocked users: |
1ms |
| others: | 229ms |
| total: | 474ms |

| 0 / 0 |
