Click here to Skip to main content
15,898,374 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: DataTable: Query a programmatically generated DataTable Pin
mr.priyank29-Mar-13 4:26
mr.priyank29-Mar-13 4:26 
QuestionUsers can't get to my new web site Pin
Jim from Indy28-Mar-13 4:17
Jim from Indy28-Mar-13 4:17 
QuestionASP.net MVC 4 Panel visible true/false depends on the condition Pin
VishwaKL27-Mar-13 22:27
VishwaKL27-Mar-13 22:27 
AnswerRe: ASP.net MVC 4 Panel visible true/false depends on the condition Pin
Rohith Reddy Vadiyala28-Mar-13 21:16
Rohith Reddy Vadiyala28-Mar-13 21:16 
QuestionBest URL/File Structure Practices? Pin
Dralken27-Mar-13 19:28
Dralken27-Mar-13 19:28 
AnswerRe: Best URL/File Structure Practices? Pin
Marco Bertschi28-Mar-13 9:12
protectorMarco Bertschi28-Mar-13 9:12 
AnswerRe: Best URL/File Structure Practices? Pin
Marco Bertschi28-Mar-13 9:13
protectorMarco Bertschi28-Mar-13 9:13 
Questionmodalpopupextender with dynamic checkboxlist Pin
janetb9926-Mar-13 6:29
janetb9926-Mar-13 6:29 
I have a checkboxlist populated by a datasource having a textbox as a controlparameter. The checkboxlist is located within a modalpopup. When I click the button, the checkboxlist shows the list pertaining to the previous select. If I close and click the button to show the modalpopup, the second click shows the updated checkboxlist. I've tried everything I can think of and nothing seems to work. The latest attempt is to have a dummy button (arcArcPat) for the modalpopup. I click on btnPrePat to get the dynamic checkbox, but no modalpopup appears. Of course, when I click on btnArcPat, everything's great because I've clicked on the btnPrePat first. I tried taking away the display:none; and then I only get a flash on the screen, nothing that stays. Help?
<pre lang="vb"><asp:Button ID="btnPrePat" runat="server" Text="pre arc" /><asp:Button ID="btnArcPat" runat="server" text="Search" />
<ajaxToolkit:ModalPopupExtender ID="mpePat" runat="server" TargetControlID="btnArcPat" PopupControlID="mpPat" DropShadow="true" BackgroundCssClass="modalBackground"></ajaxToolkit:ModalPopupExtender>
<asp:Panel ID="mpPat" runat="server" CssClass="modalPopup" Style="display: none;">
<asp:CheckBoxList ID="cblPat" runat="server" RepeatDirection="Vertical" Font-Size="12px" />
<asp:Button ID="btnPatClose" runat="server" Text="Close" />
</asp:Panel>

Protected Sub btnPrePat_Click(sender As Object, e As EventArgs) Handles btnPrePat.Click
ds = New Data.DataSet
strSql = "SELECT TOP (100) PERCENT t.patID, myType FROM blah, blah"
da = New Data.SqlClient.SqlDataAdapter(strSql, cn)
Try
da.Fill(ds, "patSearch1")
If ds.Tables("patSearch1").Rows.Count > 0 Then
cblPat.DataSource = ds.Tables("patSearch1")
cblPat.DataTextField = ds.Tables("pat").Columns("myType").ToString
cblPat.DataValueField = ds.Tables("pat").Columns("patID").ToString
cblPat.DataBind()
End If
Catch ex As Exception
Response.Write(ex.ToString)
End Try
mpePat.Show()
End Sub
</pre>
AnswerRe: modalpopupextender with dynamic checkboxlist Pin
janetb993-Apr-13 5:39
janetb993-Apr-13 5:39 
Questionhow to get selected item text in razor dropdownlist. Pin
GuhananthS24-Mar-13 20:12
GuhananthS24-Mar-13 20:12 
AnswerRe: how to get selected item text in razor dropdownlist. Pin
mr.priyank29-Mar-13 4:37
mr.priyank29-Mar-13 4:37 
QuestionHow to use databindings class in web application? Pin
behrad kiani24-Mar-13 8:33
behrad kiani24-Mar-13 8:33 
AnswerRe: How to use databindings class in web application? Pin
Marco Bertschi24-Mar-13 10:53
protectorMarco Bertschi24-Mar-13 10:53 
QuestionPing sql server database table and track inserted records Pin
Ani199124-Mar-13 6:03
Ani199124-Mar-13 6:03 
General70-487 Material Pin
silentspeaker24-Mar-13 3:39
silentspeaker24-Mar-13 3:39 
QuestionRe: 70-487 Material Pin
Richard MacCutchan24-Mar-13 4:32
mveRichard MacCutchan24-Mar-13 4:32 
Questionbooked dates should appear in red color in calender Pin
Member 870181324-Mar-13 3:09
Member 870181324-Mar-13 3:09 
AnswerRe: booked dates should appear in red color in calender Pin
Sandeep Mewara24-Mar-13 5:47
mveSandeep Mewara24-Mar-13 5:47 
GeneralRe: booked dates should appear in red color in calender Pin
Member 870181324-Mar-13 23:47
Member 870181324-Mar-13 23:47 
GeneralRe: booked dates should appear in red color in calender Pin
Member 870181325-Mar-13 7:57
Member 870181325-Mar-13 7:57 
QuestionCheckbox List help Pin
Girish_Sharma23-Mar-13 22:09
Girish_Sharma23-Mar-13 22:09 
Questionasp.net Pin
Member 992520623-Mar-13 12:20
Member 992520623-Mar-13 12:20 
AnswerRe: asp.net Pin
David C# Hobbyist.23-Mar-13 13:41
professionalDavid C# Hobbyist.23-Mar-13 13:41 
AnswerRe: asp.net Pin
Rahul Rajat Singh24-Mar-13 19:47
professionalRahul Rajat Singh24-Mar-13 19:47 
Questionradiobutton Pin
mmmickyyy22-Mar-13 20:31
mmmickyyy22-Mar-13 20:31 

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.