Good Day ALL

I have a UserControl that has a Dropdownlist. In the Hosting Page i have a Ultrawebgrid that gets updated based on the Selecteindexchange event the the dropdown. I have have another Control on the Left hand side that needs to be Updated on Selecteindexchange of the Drop down. Now the Left hand side Control Works and it gets updated but the Grid does not get updated. I have attached a link to photo of my design

[IMG]http://www.vuyiswamaseko.somee.com/GRid_Update.JPG[/IMG]

Here is a Definition of my Grid

<igtbl:UltraWebGrid ID="Gridstaff" runat="server" Height="158px" StyleSetName="RubberBlack"
                                                            Width="400px">
                                                            <Bands>
                                                                <igtbl:UltraGridBand>
                                                                    <AddNewRow View="NotSet" Visible="NotSet">
                                                                    </AddNewRow>
                                                                </igtbl:UltraGridBand>
                                                            </Bands>
                                                            <DisplayLayout BorderCollapseDefault="Separate" LoadOnDemand="Automatic" Name="ctl02xUltraWebGrid1"
                                                                RowHeightDefault="20px" SelectTypeRowDefault="Extended" Version="4.00">
                                                                <FrameStyle Height="158px" Width="400px">
                                                                </FrameStyle>
                                                                <ActivationObject BorderColor="" BorderWidth="">
                                                                </ActivationObject>
                                                            </DisplayLayout>
                                                        </igtbl:UltraWebGrid>

Thank you

Post some code from the code behind class file related to this issue. It will help us to understand the problem.

When the SelectedIndexChanged event is fired, Just check whether the DataBind method for the Grid is reached by putting a break point on that.

Good Morning

it got Fired. But the Problem was that the statement

if(!page.ispostback)
{
}

was not always true that is why it gave a Problem. i resolved this by commenting it out.

Thanks

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.