Hi, Iam having a scenario like this
on my webform I am having a combobox, a uploading file control,a Add button and a radGrid(it is having two columns combobox value column and fileNmae) .
In my combobox it is having some values (say A,B and C), I select a value from combobox and against that I browse for a file, after browsing a file when I click on Add button the combox value and the file path which is browsed should appear in radGrid.
How could I achieve this and one more thing one combobox selected value can have multiple files against them.
my source code is as follows :
<p><asp:Label ID="lblDocName" Text="Document Name" runat="server" /></p>
<p><radG:RadComboBox ID="ddlDocName" runat="server" /></p>
</div>
<div>
<p><asp:Label ID="lblAttachDoc" Text="Attach Document" runat="server" /></p>
<p><asp:FileUpload ID="uplFileAttach" runat="server" Width="200px" /></p>
</div>
</div>
<div >
<asp:Button ID="btnAdd" Text="Add" runat="server" />
</div>
<div>
<radG:RadGrid ID="rgDocument" runat="server" Skin="Default" EnableEmbeddedSkins="False" Width="570px" GridLines="None">
<MasterTableView>
<NoRecordsTemplate>
</NoRecordsTemplate>
<ExpandCollapseColumn>
<HeaderStyle Width="20px" />
</ExpandCollapseColumn>
<RowIndicatorColumn>
<HeaderStyle Width="20px" />
</RowIndicatorColumn>
</MasterTableView>
</radG:RadGrid>
</div>
thanks,