I have a page with a gridview which is inside a tab panel.
Depending upon the selection in the GridView I need to set a Select Parameter for a FormView on another area of the page.
I simply get the error "Could not find control 'GridView2' in ControlParameter 'PoemID'"
Any suggestions ?
i got the same problem trying to access a label inside a tabcontainer...
someone pease help us!
I have had some success with resolving a similar problem by adding the name of the container to to the ControlId parameter as follows: ContainerName$Gridview2
I have an UpdatePanel with a textbox inside, further down the page I have a tab panel that needs to reference the value entered into the textbox and was able to get it to work by having the following syntax:<asp:ControlParameterControlID="UpdatePanel1$TextBox1" ...... what I can't work out is how to reference the same textbox from the tabpanel if it was placed within another tabpanel above or a different container such as an accordion panel. let me know if this gives you any clues...
Found any solution yet? I'm also facing the same problem. Thank you for sharing.
Men, thanks to you I could fix my application...
You just have to do the same with all the controls of the panel, but remember to use the tab container and the tab panel, OK... Here my example... Thnaks
--
SelectMethod="GetEmpleado_MByNumero"TypeName="RecursosHumanoBLL"UpdateMethod="UpdateEmpleadosMByNumeroEmpleado"OldValuesParameterFormatString="{0}">
<SelectParameters>
<asp:ControlParameterControlID="udpConsultaEmpleado$tcEmpleados$tpFiltro$gvEmpleados"DefaultValue="1"Name="Numero"
PropertyName="SelectedValue"Type="Int32"/>
</SelectParameters>
--
I hope it work for you too
No comments:
Post a Comment