Click here to Skip to main content
15,892,059 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questioni want email sending program in vb Pin
sura94519-Nov-09 4:06
sura94519-Nov-09 4:06 
AnswerRe: i want email sending program in vb Pin
dan!sh 19-Nov-09 4:14
professional dan!sh 19-Nov-09 4:14 
AnswerRe: i want email sending program in vb Pin
Abhijit Jana19-Nov-09 4:15
professionalAbhijit Jana19-Nov-09 4:15 
GeneralRe: i want email sending program in vb Pin
Abhishek Sur19-Nov-09 8:21
professionalAbhishek Sur19-Nov-09 8:21 
Questionhiii.. how can i call modal popup through code behind ... Pin
hi_everybody19-Nov-09 3:16
hi_everybody19-Nov-09 3:16 
AnswerRe: hiii.. how can i call modal popup through code behind ... Pin
PunkIsNotDead19-Nov-09 5:39
PunkIsNotDead19-Nov-09 5:39 
GeneralRe: hiii.. how can i call modal popup through code behind ... Pin
hi_everybody20-Nov-09 1:26
hi_everybody20-Nov-09 1:26 
GeneralRe: hiii.. how can i call modal popup through code behind ... Pin
PunkIsNotDead20-Nov-09 13:52
PunkIsNotDead20-Nov-09 13:52 
ok sorry for the delay! i was working ^^


so, you need to show the modal when the user clicks on a row of a asp table?? isn't a Gridview?? with gridview is easier!


well let's start from zero, if you're using ajax ModalPopUpExtender you can give the extensor to any asp control... like
<asp:button ID="MyTestButton" Text="I dont know" runat="server">
<cc1:ModalPopupExtender ID="MyModal" runat="server"
            Enabled="True" TargetControlID="MyTestButton"
            BackgroundCssClass="modalBackground"
            PopupControlID="Pnl_Modal" 
            CancelControlID="Btn_Cancel" DropShadow="True">
        </cc1:ModalPopupExtender>
and your panel to show must be hidden
<asp:Panel style="display:none;" CssClass="modalPopup" ID="Pnl_Modal" runat="server" Height="99px" Width="297px" 
                    BackColor="#66CCFF">Here the textboxes you need and the save button<asp:panel>
ok then! assuming you've a grid like
<asp:GridView ID="GV_MyData" runat="server" AutoGenerateColumns="False" 
            DataKeyNames="Id_Pelicula" DataSourceID="LQDS_MySource" 
            onselectedindexchanged="GV_MyData_SelectedIndexChanged">
            <Columns>bla bla bla and your button in every row</Columns>
</asp:GridView>

so in the OnSelectedIndexChanged Event you can add
MyTextBoxInsideTheModal1.Text = values.Actor_Estelar;
            MyTextBoxInsideTheModal1.Text = values.Titulo;
            MyModal.Show();

assuming values is obtained from a qry using the SelectedDataKey.Value of the GV... i'm explaining myself?
QuestionRe: hiii.. how can i call modal popup through code behind ... Pin
hi_everybody20-Nov-09 22:26
hi_everybody20-Nov-09 22:26 
AnswerRe: hiii.. how can i call modal popup through code behind ... Pin
PunkIsNotDead21-Nov-09 17:53
PunkIsNotDead21-Nov-09 17:53 
GeneralRe: hiii.. how can i call modal popup through code behind ... Pin
hi_everybody23-Nov-09 18:23
hi_everybody23-Nov-09 18:23 
Questionhow to run website without Visual Studio Pin
JayPatel2119-Nov-09 1:02
JayPatel2119-Nov-09 1:02 
AnswerRe: how to run website without Visual Studio Pin
Abhishek Sur19-Nov-09 1:34
professionalAbhishek Sur19-Nov-09 1:34 
AnswerRe: how to run website without Visual Studio Pin
Abhijit Jana21-Nov-09 21:18
professionalAbhijit Jana21-Nov-09 21:18 
Questionhow to run website without Visual Studio Pin
JayPatel2119-Nov-09 1:00
JayPatel2119-Nov-09 1:00 
AnswerRe: how to run website without Visual Studio Pin
dan!sh 19-Nov-09 1:27
professional dan!sh 19-Nov-09 1:27 
AnswerRe: how to run website without Visual Studio Pin
Abhijit Jana19-Nov-09 3:56
professionalAbhijit Jana19-Nov-09 3:56 
QuestionGet Applicationname Pin
Gamzun19-Nov-09 0:28
Gamzun19-Nov-09 0:28 
AnswerRe: Get Applicationname Pin
Abhijit Jana19-Nov-09 0:38
professionalAbhijit Jana19-Nov-09 0:38 
AnswerRe: Get Applicationname Pin
Abhishek Sur19-Nov-09 1:32
professionalAbhishek Sur19-Nov-09 1:32 
GeneralRe: Get Applicationname Pin
Gamzun20-Nov-09 3:57
Gamzun20-Nov-09 3:57 
GeneralRe: Get Applicationname Pin
Abhishek Sur21-Nov-09 8:51
professionalAbhishek Sur21-Nov-09 8:51 
GeneralRe: Get Applicationname Pin
Gamzun22-Nov-09 9:09
Gamzun22-Nov-09 9:09 
QuestionCreate Search like Article search on this website Pin
AlexSchatten18-Nov-09 23:42
AlexSchatten18-Nov-09 23:42 
AnswerRe: Create Search like Article search on this website Pin
Abhijit Jana18-Nov-09 23:49
professionalAbhijit Jana18-Nov-09 23:49 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.