Data Controls :: Show Modal Popup And Redirect To Another Page When Button Is Clicked Inside GridView

Apr 22, 2014

There is a Gridview in my web page with a Hyperlink & ImageButton inside it.HTML code:

<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" Width="100%" PageSize="5" AllowPaging="True" OnPageIndexChanging="GridView1_PageIndexChanging" BorderColor="#e5e4e2" BorderStyle="solid" BorderWidth="2px">
<RowStyle CssClass="Grid" />
<Columns>
<asp:BoundField HeaderText="Id" DataField="id"/>

[CODE]..

I wat to know 2 different things, using above Gridview Layout:1) when I click on only Gridview "Hyperlink", it should open a modal Popup with 1 Gridview inside modal Popup. And close modal Popup when clicking on cancel button.2) How to navigate to other ".aspx page", when clicking on Gridview "Hyperlink" OR "ImageButton" inside above Grid.

View 1 Replies


Similar Messages:

Data Controls :: Open Panel As Modal Popup When HyperLink Inside GridView Is Clicked

Apr 25, 2014

Is it possible to open a "panel" when Clicking on Gridview HyperLink?

In my Web Page there is a Gridview with ItemTemplate field, with HyperLink inside it. On click of HyperLink I want to open a panel below Gridview.

How to achieve it.

View 1 Replies

Data Controls :: Display AJAX Modal Popup Window When Update Button Is Clicked In GridView

Jul 16, 2013

I want to display a pop up window when i click on update button of gridview after editing. How this will be implemented.

View 1 Replies

Data Controls :: Show GridView Row Details In TextBoxes Inside Modal Popup

May 7, 2015

I have a Gridview in my form(c#) and used Textbox to Bind values to gridview cells.i need to Show One of the coloumn value which is in textbox in Popup.while click the cell the popup should show the cell value.

View 1 Replies

Data Controls :: Redirect To Another Page On Some Condition When Button Inside DataList Is Clicked

May 7, 2015

i have a question about HyperLink or LinkButton in Datalist in asp.net. I have HyperLink or LinkButton in Datalist. How when clicking on a linkbutton, if satisfies a certain condition, it will move to a different page, and would not stay current page.

View 1 Replies

Data Controls :: Show GridView Selected Row Details Inside JQuery Dialog Modal Popup?

Dec 18, 2013

How to show Gridview selected row in popup using Jquery asp.net 2010

View 1 Replies

Data Controls :: Open Associated Image In Modal Popup When Button Is Clicked In DataList Item

Jun 25, 2012

Display the modal popup image when click button on datalist for each item.

View 1 Replies

Data Controls :: Pass Selected Row From GridView Inside Modal Popup To Page

Dec 23, 2015

I am using a gridview in ajax modal popup extender and want to redirect the selected row data of gridview on another page.

View 1 Replies

AJAX :: How To Show Modal Popup Onclick Of Button Inside Collapsible Panel Extender

Jun 21, 2013

I want to show model popup, I have One asp page in that Collapsible Panel and tow user control and one button, Suppose I click on button then show the model popup and hide the panel and user controls..

View 1 Replies

Data Controls :: Need Partial Page Postback When Add Button Is Inside Gridview Is Clicked

Jun 2, 2012

i have a gridview with itemtemplate, edittemplate and footer template placed in update panel..i have placed Add button to insert new record in the footer template.i want  partial page postback when  Add button is insside gridview is clicked.

<asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
<asp:GridView ID="grdMatReq" runat="server" AutoGenerateColumns="False" 
        ShowFooter="True" Font-Size="Small"
        AllowPaging ="True" onrowediting="EditMatReq" 

[code]....

View 1 Replies

AJAX :: Get A Modal Popup Inside A Modal Popup / Fire The Modal Popup On A Condition In A Text Change Event Of A Textbox?

Jan 17, 2010

I am trying to get a modal popup inside a modal popup?, also i want to fire the modal popup on a condition in a text change event of a textbox?...is this possible and can anyone give me directon on this

View 5 Replies

Data Controls :: Conditionally Redirect To Other Page On Click Of Button Inside GridView

Nov 21, 2013

How to redirect a page to a particular website link( links are saved in database) using database on button click, for particular DropDown value i.e, External. If dropdown value is "external", then on clicking button page should redirect to particular website link related to the above drop down. This link can differ in DB but DropDown value is same for all users i.e "External"..(these website links are saved in database, I have to fetch these links from database.

View 1 Replies

Data Controls :: Redirect To Other Page On Click Of Image Button Inside GridView

Sep 28, 2013

i want to bind image button . How could it be done instead of hyperlink 

<asp:HyperLinkField DataNavigateUrlFields="id"
DataNavigateUrlFormatString="?ID={0}" HeaderText="buy" Text="buy" />
<asp:ImageButton runat="server">
</asp:ImageButton>

without affected my code

View 1 Replies

Data Controls :: GridView With SqlDataSource Inside Modal Popup

Feb 25, 2016

I am using one textbox and button.

[URL] ....

In SqlDataSource ( <asp:ControlParameter>) I am adding the value and based on that id i'm binding the gridview, bur it returns empty gridview in the modal popup window.

Below is the code attached for your reference

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script src="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.9/jquery-ui.js" type="text/javascript"></script>
<link href="http://ajax.aspnetcdn.com/ajax/jquery.ui/1.8.9/themes/start/jquery-ui.css"
rel="stylesheet" type="text/css" />

[Code] ....

View 1 Replies

C# - Modal Popup Extender / Show() Method The Parent Page Just Frozen When Click Button?

Dec 14, 2010

i use modal popup extender to show my details in another separate window it is a panel contains some controls the problem is ::
when i click on my button which contains::
the Show() method the parent page just frozen and no popup appears at all on the other side i have a grid view when i click on the last button on it the popup appears where the other buttons on the grid view make the same behavior of my first button , i donot know what is the problem my panel visibility = true and no setting in my behind code..i view the source and i find the panel with its contents then why the popup window doesnot appear.
my aspx::

<asp:Panel id="master_editMode" runat="server" >
<div id="masterDiv" style="width:98%" dir="rtl">
<div id="masterControls" align="center">
<table border="0" width="98%">
<tr>
<td align="center" dir="rtl">
<asp:ObjectDataSource ID="ObjDS_AllTasks" runat="server"
SelectMethod="Get_All_Tasks" TypeName="DocumentFlowModuleDTO.TaskDTO">
</asp:ObjectDataSource>
<asp:HiddenField ID="hd_Task_Code" runat="server" />
<table>
<tr>
<td>
<asp:Label ID="Label11" runat="server" Text="Search for Task" Visible="False"></asp:Label>
</td>
<td align="right">
<asp:TextBox ID="txt_Search" runat="server" AutoPostBack="True"
ontextchanged="txt_Search_TextChanged" Width="200px" Visible="False"></asp:TextBox>
</td>
<td>
</td>
</tr>
<tr>
<td colspan="3">
<asp:GridView ID="grd_AllTasks" runat="server" AllowPaging="True"
AutoGenerateColumns="False" CssClass="Alternating" DataKeyNames="task_code"
DataSourceID="ObjDS_AllTasks"
onpageindexchanging="grd_AllTasks_PageIndexChanging"
onrowdatabound="grd_AllTasks_RowDataBound" style="margin-right: 0px">
<RowStyle VerticalAlign="Top" />
HeaderText="ÍÐÝ">
<ItemTemplate>
<asp:ImageButton ID="btn_Delete_Task" runat="server"
CommandArgument="<%# Bind('task_code') %>" Height="33px"
ImageUrl="~/Images/delete.png" oncommand="btn_Delete_Task_Command"
Width="67px" />
<cc1:ConfirmButtonExtender ID="btn_Delete_Task_ConfirmButtonExtender"
runat="server" ConfirmText="åá ÊÑíÏ ÍÐÝ æËíÞÉ ÇáÇÚÊãÇÏ " Enabled="True"
TargetControlID="btn_Delete_Task">
</cc1:ConfirmButtonExtender>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<HeaderStyle HorizontalAlign="Right" />
</asp:GridView>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="right" dir="rtl">
<asp:Label ID="lbl_TaskName" runat="server" Font-Bold="True" Font-Size="13pt"></asp:Label>
</td>
</tr>
<tr>
<td align="center" dir="rtl" style="height: 196px">
<table>
<tr>
<td align="left">
<asp:Label ID="lbl_No_States" runat="server" Font-Bold="True" ForeColor="Red"></asp:Label>
</td>
<td align="right">
<asp:ImageButton ID="btn_AddStatesToTask" runat="server"
ImageUrl="Images/add.png" onclick="btn_AddStatesToTask_Click" Visible="False" />
<asp:Button ID="Dummy_btn2" runat="server" Text="Button" Style="display:none;" />
<cc1:ModalPopupExtender ID="btn_AddStatesToTask_ModalPopupExtender"
runat="server"
TargetControlID="Dummy_btn2"
BackgroundCssClass="modalBackground"
PopupControlID="pnl_Add_States"
DropShadow="True">
</cc1:ModalPopupExtender>
</td>
</tr>
</table>
<asp:HiddenField ID="hd_StateSerial" runat="server" />
<asp:HiddenField ID="hd_StateRowIndex" runat="server" />
<asp:GridView ID="grd_States" runat="server" AllowPaging="True" DataKeyNames="state_serial"
onpageindexchanging="grd_States_PageIndexChanging" Visible="False"
CssClass="Alternating" AutoGenerateColumns="False">
<Columns>
<asp:BoundField DataField="state_name" HeaderText="ÇáãÑÍáÉ"
ShowHeader="False" />
<asp:BoundField DataField="state_order" HeaderText="ÊÑÊíÈ ÇáãÑÍáÉ"
ShowHeader="False" />
<asp:TemplateField HeaderText="Power" ShowHeader="False">
<EditItemTemplate>
<asp:CheckBox ID="CheckBox1" runat="server" />
</EditItemTemplate>
<ItemTemplate>
<asp:CheckBox ID="chb_StatePower" runat="server"
Checked='<%# Convert.ToBoolean(Eval("power_flag")) %>' Enabled="False" />
</ItemTemplate>
<ItemStyle Width="40px" />
</asp:TemplateField>
<asp:TemplateField HeaderText="New" ShowHeader="False">
<EditItemTemplate>
<asp:CheckBox ID="CheckBox3" runat="server" />
<asp:Button ID="Dummy_btn4" runat="server" Text="Button" Style="display:none;" />
<cc1:ModalPopupExtender ID="btn_TaskState_Edit_ModalPopupExtender" runat="server"
TargetControlID="Dummy_btn4"
BackgroundCssClass="modalBackground"
PopupControlID="pnl_Add_States"
DropShadow="True">
</cc1:ModalPopupExtender>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="ÍÐÝ" ShowHeader="False">
<ItemTemplate>
<asp:ImageButton ID="btn_TaskState_Delete" runat="server"
CommandArgument="<%# Bind('state_serial') %>" Height="26px"
ImageUrl="~/Images/delete.png" oncommand="btn_TaskState_Delete_Command"
Width="47px" />
<cc1:ConfirmButtonExtender ID="btn_TaskState_Delete_ConfirmButtonExtender"
runat="server" ConfirmText="åá ÊÑíÏ ÍÐÝ ÇáãÑÍáÉ " Enabled="True"
TargetControlID="btn_TaskState_Delete">
</cc1:ConfirmButtonExtender>
</ItemTemplate>
</asp:TemplateField>
</Columns>
</asp:GridView>
</td>
</tr>
<tr>
<td>
<asp:ObjectDataSource ID="ObjectDataSource_States" runat="server"
SelectMethod="Select_TaskStates" TypeName="DocumentFlowModule.DTO.TaskStateDTO">
<SelectParameters>
<asp:Parameter Name="task_code" Type="Int32" />
</SelectParameters>
</asp:ObjectDataSource>
</td>
</tr>
</table>
</div>
</div>
</asp:Panel>
<asp:Panel ID="pnl_Add_Task" runat="server" CssClass="modalPopup"><%-- Style="display:none;"--%>
<div id="div3" style="width: 95%">
<div id="div4" align="center">
<table>
<tr>
<td>
<asp:UpdatePanel ID="UpPnl1" runat="server">
<ContentTemplate>
<table dir="rtl" style="text-align: right">
<tr bgcolor="#f1ece2">
<th align="right" height="35" valign="middle" colspan="3">
<asp:Label ID="lbl_New_Task" runat="server" Font-Bold="False" Font-Size="14pt"
Text="ÅÖÇÝÉ æËíÞÉ ÇÚÊãÇÏ" Visible="False"></asp:Label>
<asp:Label ID="lbl_Edit_Task" runat="server" Font-Bold="False" Font-Size="14pt"
Text="ÊÚÏíá æËíÞÉ ÇÚÊãÇÏ" Visible="False"></asp:Label>
</th>
</tr>
<tr>
<td class="title" width="160">
<asp:Label ID="Label1" runat="server" Text="Task Name"></asp:Label>
</td>
<td style="width: 140px">
<asp:TextBox ID="txt_TaskName" runat="server"></asp:TextBox>
</td>
<td>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ControlToValidate="txt_TaskName" ErrorMessage="*" ValidationGroup="G1"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="title" width="160">
<asp:Label ID="Label10" runat="server" Text="DataBase Name"></asp:Label>
</td>
<td style="width: 140px">
<asp:DropDownList ID="ddl_DataBases" runat="server" AutoPostBack="True"
onselectedindexchanged="ddl_DataBases_SelectedIndexChanged">
</asp:DropDownList>
</td>
<td>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server"
ControlToValidate="ddl_DataBases" ErrorMessage="*" InitialValue="--Select--"
ValidationGroup="G1"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="title" width="160">
<asp:Label ID="Label2" runat="server" Text="Table Name"></asp:Label>
</td>
<td style="width: 140px">
<asp:DropDownList ID="ddl_Tables" runat="server" AutoPostBack="True"
ondatabound="ddl_Tables_DataBound"
onselectedindexchanged="ddl_Tables_SelectedIndexChanged">
</asp:DropDownList>
</td>
<td>
<asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server"
ControlToValidate="ddl_Tables" ErrorMessage="*" InitialValue="--Select--"
ValidationGroup="G1"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="title" width="160">
<asp:Label ID="Label17" runat="server" Text="Table Key"></asp:Label>
</td>
<td style="width: 140px">
<asp:Label ID="lbl_Key" runat="server"></asp:Label>
<asp:CheckBoxList ID="cbl_Columns" runat="server">
</asp:CheckBoxList>
</td>
<td>
<asp:Label ID="lbl_Select_Key" runat="server" ForeColor="Red"></asp:Label>
</td>
</tr>
<tr>
<td class="title" width="160">
<asp:Label ID="Label18" runat="server" Text="Current Record State"></asp:Label>
</td>
<td style="width: 140px">
<asp:DropDownList ID="ddl_Columns" runat="server" AutoPostBack="True"
ondatabound="ddl_Columns_DataBound">
</asp:DropDownList>
</td>
<td>
<asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server"
ControlToValidate="ddl_Columns" ErrorMessage="*" InitialValue="--Select--"
ValidationGroup="G1"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="title" width="160">
<asp:Label ID="Label5" runat="server" Text="Form View "></asp:Label>
</td>
<td style="width: 140px">
<asp:TextBox ID="txt_F_View" runat="server"></asp:TextBox>
</td>
<td>
<asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server"
ControlToValidate="txt_F_View" ErrorMessage="*" InitialValue="--Select--"
ValidationGroup="G1"></asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td class="title" width="160">
<asp:Label ID="Label6" runat="server" Text="Form New"></asp:Label>
</td>
</td>
</tr>
</table>
</ContentTemplate>
</asp:UpdatePanel>
</td>
</tr>
<tr>
<td dir="rtl" align="center">
<asp:ImageButton ID="btn_OK" runat="server" ImageUrl="~/Images/add.png"
onclick="btn_OK_Click" ValidationGroup="G1" Visible="False" />
<asp:ImageButton ID="btn_Edit" runat="server" ImageUrl="~/Images/edit.png"
onclick="btn_Edit_Click" ValidationGroup="G1" Visible="False" />
<asp:ImageButton ID="btn_Cancel_Task" runat="server" CausesValidation="False"
Height="36px" ImageUrl="~/Images/cancel.png" onclick="btn_Cancel_Task_Click" />
</td>
</tr>
</table>
</div>
</div>
</asp:Panel>

the btn_add _task does not make my popup appear just freeze the parent page

my .cs

protected void btn_Add_Task_Click(object sender, EventArgs e)
{
//AjaxControlToolkit.ModalPopupExtender modal1 = (AjaxControlToolkit.ModalPopupExtender) table1.FindControl("btn_Add_Task_ModalPopupExtender");
//modal1.Show();
grd_States.Visible = false;
lbl_No_States.Text = "";
btn_AddStatesToTask.Visible = false;
lbl_TaskName.Text = "";
//master_editMode.Visible = true;
//pnl_Add_Task.Visible = true;
btn_OK.Visible = true;
btn_Edit.Visible = false;
lbl_New_Task.Visible = true;
lbl_Edit_Task.Visible = false;
txt_TaskName.Text = "";
ddl_DataBases.ClearSelection();
ddl_Tables.Items.Clear();
ddl_Columns.Items.Clear();
cbl_Columns.Items.Clear();
txt_F_New.Text = "";
txt_F_View.Text = "";
txt_Params.Text = "";
txt_SP_Name.Text = "";
btn_Add_Task_ModalPopupExtender.Show();
}

EDITED::

<table align="center" dir="rtl">
<tr>
<td >
<asp:Button ID="Dummy_btn" runat="server" Text="Button" Style="display:none;" />
<asp:Button ID="btn_Add_Task" runat="server" Text="ÅÖÇÝÉ æËíÞÉ ÇÚÊãÇÏ ÌÏíÏÉ"
onclick="btn_Add_Task_Click" Font-Bold="True" Font-Size="12pt"
ForeColor="#0066FF" />
<cc1:ModalPopupExtender ID="btn_Add_Task_ModalPopupExtender" runat="server"
TargetControlID="Dummy_btn"
PopupControlID="pnl_Add_Task"
BackgroundCssClass="modalBackground"
DropShadow="True" >
</cc1:ModalPopupExtender>
</td>
</tr>
</table>`

View 1 Replies

Data Controls :: Display Selected GridView Row In FormView Inside Modal Popup

Apr 27, 2016

Is it possible when i select the gridview and it will reveal selected row and retrieve all the data from sql server on popup formview.

Gridview [URL] .....

Formview [URL] .....

View 1 Replies

AJAX :: Execute Server Code After Button Clicked In Modal Popup

Aug 7, 2010

I'm not sure if this is an easy issue to solve, but I can't seem to figure it out. I have a ModalPopupExtender (obviously) for a panel that contains a two labels, two textboxes, and two buttons (Ok and Cancel). What I would like to do is when the Ok button is clicked, the page post back and the server click event execute (along with normal page events). When I try adding "__doPostBack("ModalOk", "");" as the OnOkScript, the page posts back, but the click event doesn't execute. (the click event is Protected Sub ModalOk_Click(blah blah) Handles ModalOk.Click).

The only way I got it to work (which is fine with me, I just thought I'd ask why it isn't working normally) is by checking to see if the Request.Form("__EVENTTARGET") is equal to "ModalOk". If it is, then I call the ModalOk_Click() sub. Like I said, this is fine with me, but it should be able to be avoided. If the __EVENTTARGET is equal to "ModalOk", then the "Handles ModalOk.Click" event should automatically be called, shouldn't it? Following with the general problem here, how does the server determine which events (other than the page events) to execute (or at least which button.click event)? I understand that the __EVENTTARGET supplies what causes the postback, but if a button is clicked then __EVENTTARGET is not set. So then does the page check the Request.Form for a button? Or is it more complex/simple than what I'm asking?

View 8 Replies

AJAX :: Refresh Modal Popup Extender Each Time The Button Is Clicked?

Jan 5, 2011

I have a user control and inside that user control I have a image button on whose click I am opening a modalpopup extender(which is another user control) I am populating all the values in drop down list and getting all the information i need on the form. The user and go and save the information required on that web form and clicking on cancel would exit the form which would bring the user back to the main user control.

The problems faced:

1.Problem 1: Not refreshing On clicking on tree view one of the nodes I am calling the reload function of parent user control as well as the user control present as popupextender. This click would refresh and fill in the values from the database for user to view and edit. Now when the user clicks on the image button another user control opens up where he can edit the entire values of the form and move back and forth in the records I have put update panels for every block and for the buttons. He can save the information. But when he exits and form and reopens it after a while the values of the form are retained the values which are not saved to the database but the ones which were selected so it is retaining them and not refreshing. How can I force the refresh everytime the button is clicked for modalpopup extender user control.

2. Problem 2 enable/disable buttons I am not able to enable and disable the buttons inside the extender the buttons are in the update panel as well as for the different sections of the form.

View 2 Replies

Data Controls :: Display GridView Row Details Inside AJAX ModalPopupExtender Modal Popup

Sep 20, 2015

I saw guide on here [URL] .... 

Which I found useful to create gridview with dropdown filter. What my gridview differs from your one is based on ID, a modal is loaded. E.g. there is a column called "review" and in that column there is image that when clicked it loads a modal with details. My question is, how do i do this using the code provided by you. So ID is passed back to code. (So backend knows which row is clicked).

View 1 Replies

Data Controls :: Edit GridViewRow Using Modal Popup When Row Is Clicked?

Sep 18, 2012

[URL]

Which is pretty much eaxactly what I was after! . I have been trying to alter the edit functionality instead of actually having to click on an edit button the user can click anywhere on a selected row to bring up the edit popup window. I have been trying to figure this out for a couple of days and cannot find a way to get it going.

View 1 Replies

Data Controls :: Show Details Of Hidden Column Of GridView In JQuery Dialog Modal Popup

Jun 16, 2015

I am referring below url , there is one column which has some large data i dont want to show in grid, but on clicking show detail i want to show detail in Modal Popup, right now it shows blank data, is there any solution for it. URL..

View 1 Replies

Data Controls :: Open AJAX Modal Popup On SelectedIndex Changed Event Of DropDownList Inside GridView

May 7, 2015

I'm trying to load a gridview based on selection from dropdownlist. When i run the program, it displays empty gridview. How to solve this?

Name of dropdownlist: CatCode

Code behind:

Private Sub BindProdGrid()
Dim conString As String = ConfigurationManager.ConnectionStrings("SY_InventoryConnectionString").ConnectionString
Dim rowIndex As Integer = 0
Dim box11 As DropDownList = CType(SalesGView.Rows(rowIndex).Cells(1).FindControl("CatCode"), DropDownList)

[Code] ....

View 1 Replies

Data Controls :: CheckBox Inside GridView Getting Unchecked When Button Is Clicked?

May 7, 2015

i made a checkbox templatefield in gridview that let me select the rows wanted ...and i have a button to do something for all rows selected ...my problem is after click button i want unchech all checkbox in gridview ...i wrote this code but not working: 

protected void btnPaye_Click(object sender, EventArgs e) {
//TextBox1.Text = "";
foreach (GridViewRow gvr in gdfacture.Rows) {
if (gvr.RowType == DataControlRowType.DataRow) {
CheckBox cb = (CheckBox)(gvr.FindControl("chkSelect"));

[code]....

View 1 Replies

Data Controls :: Download File In New Window When Button Inside GridView Is Clicked

May 7, 2015

When I click on download link button which has the path of the file stored on the gridview how to pass only the filename to the query string... like for example URL....presentation. pdf is the file name and it will be displayed with the path stored on the gridview.. How to extract the filename and make it download on a new window by passing the filename on the query string..

View 1 Replies

Forms Data Controls :: Calculation On RadioList Inside GridView - How To Retrieve The List Button Clicked Value

Jan 19, 2010

Here is my page:

[Code]....

It basically is 4 questions with each answer assigned a value.

What I would like to do is when the button is clicked the selected values are retrieved and calculated to give a total.

That total is then compared against some common totals and the next value is shown.

So is the total is 8= Very Good, 6= Very Bad, 4= Terrible etc.

The two labels Result and Truth would sho the numerical result and the truth according to the scale.

I am at a loss on how to retrieve the list button clicked value, how to add them up and referance that to the Truth result.

its complicated (to me its "bang head against wall" difficult.

View 17 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved