Click here to Skip to main content
15,900,258 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionsession variable / temp data Pin
xnaLearner17-Dec-12 4:25
xnaLearner17-Dec-12 4:25 
QuestionSalable Comet (server hang while more user) Pin
vaibhav.baldha17-Dec-12 3:47
vaibhav.baldha17-Dec-12 3:47 
AnswerRe: Salable Comet (server hang while more user) Pin
Chandrabhan Sangale18-Dec-12 17:49
professionalChandrabhan Sangale18-Dec-12 17:49 
QuestionThe underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. Pin
kapil sharma 4917-Dec-12 2:02
kapil sharma 4917-Dec-12 2:02 
AnswerRe: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. Pin
ZurdoDev18-Dec-12 4:58
professionalZurdoDev18-Dec-12 4:58 
QuestionCan only book for yourself and not other users? Pin
xnaLearner17-Dec-12 1:29
xnaLearner17-Dec-12 1:29 
QuestionRe: Can only book for yourself and not other users? Pin
Zaf Khan19-Dec-12 5:49
Zaf Khan19-Dec-12 5:49 
QuestionEval + onclientClick Gridview Error Pin
jojoba201116-Dec-12 20:38
jojoba201116-Dec-12 20:38 
Hi,
I get error while using this code ?

XML
<asp:TemplateField>
                                   <ItemTemplate >
                                       <asp:ImageButton ID="ImageDeleteBuyingKala" ImageUrl="~/ServerFile/ApplicationFiles/Icons/Button/add.png"
                                          Width="25" runat="server" OnClientClick="Open('<%# Eval("Id") %>')" />
                                   </ItemTemplate>
                               </asp:TemplateField>


I have Solved this via :
XML
<script type="text/javascript">
       function Open(IdItem) {
           // to handle in IE 7.0
           if (window.showModalDialog) {
               window.showModalDialog(location.protocol + "//" + location.host + "/" + "WorkFlows/Forms/BuyingKala/Estelam.aspx?Id=" + IdItem, "Show Popup Window", "dialogHeight:450px,dialogWidth:80%,toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,modal=yes,center:yes");
           }
           // to handle in Firefox
           else {
               window.open(location.protocol + "//" + location.host + "/" + "WorkFlows/Forms/BuyingKala/Estelam.aspx?Id=" + IdItem, "Show Popup Window", "height=450px,width=80%,toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,modal=yes,center:yes");

           }
          // window.showModalDialog(location.protocol + "//" + location.host + "/" + "WorkFlows/Forms/BuyingKala/Estelam.aspx?Id=" + IdItem, null, "height=290px,width=400px,toolbar=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,modal=yes")
       }
   </script>


XML
<ItemTemplate>
                                        <asp:ImageButton ID="ImageEstelamBuyingKala" ImageUrl="~/ServerFile/ApplicationFiles/Icons/Button/add.png"
                                            Width="25" runat="server" OnClientClick='<%# " Open("+ DataBinder.Eval(Container.DataItem,"Id") + ");" %>' />
                                    </ItemTemplate>


now the problem is that when that child page open and i click the save button to save the items in the gridview in child page it repoen that child page once more .

modified 17-Dec-12 5:32am.

QuestionRe: Eval + onclientClick Gridview Error Pin
ZurdoDev18-Dec-12 4:59
professionalZurdoDev18-Dec-12 4:59 
QuestionSound transmission Pin
leone16-Dec-12 5:16
leone16-Dec-12 5:16 
QuestionRe: Sound transmission Pin
ZurdoDev18-Dec-12 5:00
professionalZurdoDev18-Dec-12 5:00 
AnswerRe: Sound transmission Pin
leone18-Dec-12 23:22
leone18-Dec-12 23:22 
GeneralRe: Sound transmission Pin
ZurdoDev19-Dec-12 1:38
professionalZurdoDev19-Dec-12 1:38 
GeneralRe: Sound transmission Pin
leone19-Dec-12 2:54
leone19-Dec-12 2:54 
QuestionDropDownList changed after reading SelectedValue !!!! Pin
AhmedOsamaMoh15-Dec-12 9:11
AhmedOsamaMoh15-Dec-12 9:11 
AnswerRe: DropDownList changed after reading SelectedValue !!!! Pin
rakak15-Dec-12 18:29
rakak15-Dec-12 18:29 
GeneralRe: DropDownList changed after reading SelectedValue !!!! Pin
AhmedOsamaMoh16-Dec-12 4:18
AhmedOsamaMoh16-Dec-12 4:18 
GeneralRe: DropDownList changed after reading SelectedValue !!!! Pin
chester_it2116-Dec-12 9:10
chester_it2116-Dec-12 9:10 
QuestionIIS7.5 Specific Problem Pin
Ayan Chatterjee15-Dec-12 7:07
Ayan Chatterjee15-Dec-12 7:07 
QuestionRe: IIS7.5 Specific Problem Pin
ZurdoDev18-Dec-12 5:01
professionalZurdoDev18-Dec-12 5:01 
QuestionResponse and Redirect Pin
Ani199115-Dec-12 3:32
Ani199115-Dec-12 3:32 
AnswerRe: Response and Redirect Pin
jkirkerx16-Dec-12 18:17
professionaljkirkerx16-Dec-12 18:17 
AnswerRe: Response and Redirect Pin
chester_it2117-Dec-12 17:41
chester_it2117-Dec-12 17:41 
QuestionSlideShow Pin
cdpsource14-Dec-12 12:28
cdpsource14-Dec-12 12:28 
AnswerRe: SlideShow Pin
ZurdoDev18-Dec-12 5:04
professionalZurdoDev18-Dec-12 5:04 

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.