Click here to Skip to main content
       

ASP.NET

 
Questionsession variable / temp data PinmemberxnaLearner17-Dec-12 4:25 
QuestionSalable Comet (server hang while more user) Pinmembervaibhav.baldha17-Dec-12 3:47 
AnswerRe: Salable Comet (server hang while more user) PinmemberChandrabhan Sangale18-Dec-12 17:49 
QuestionThe underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. Pinmemberkapil sharma 4917-Dec-12 2:02 
AnswerRe: The underlying connection was closed: Could not establish trust relationship for the SSL/TLS secure channel. Pinmemberryanb3118-Dec-12 4:58 
QuestionCan only book for yourself and not other users? PinmemberxnaLearner17-Dec-12 1:29 
QuestionRe: Can only book for yourself and not other users? PinmemberZaf Khan19-Dec-12 5:49 
QuestionEval + onclientClick Gridview Error [modified] Pinmemberjojoba201116-Dec-12 20:38 
Hi,
I get error while using this code ?
 
<asp:TemplateField>
                                   <ItemTemplate >
                                       <asp:ImageButton ID="ImageDeleteBuyingKala" ImageUrl="~/ServerFile/ApplicationFiles/Icons/Button/add.png"
                                          Width="25" runat="server" OnClientClick="Open('<%# Eval("Id") %>')" />
 
I have Solved this via :
<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>
 
<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 Pinmemberryanb3118-Dec-12 4:59 
QuestionSound transmission Pinmemberleone16-Dec-12 5:16 
QuestionRe: Sound transmission Pinmemberryanb3118-Dec-12 5:00 
AnswerRe: Sound transmission Pinmemberleone18-Dec-12 23:22 
GeneralRe: Sound transmission Pinmemberryanb3119-Dec-12 1:38 
GeneralRe: Sound transmission Pinmemberleone19-Dec-12 2:54 
QuestionDropDownList changed after reading SelectedValue !!!! [modified] PinmemberAdore C++15-Dec-12 9:11 
AnswerRe: DropDownList changed after reading SelectedValue !!!! Pinmemberrakak15-Dec-12 18:29 
GeneralRe: DropDownList changed after reading SelectedValue !!!! PinmemberAdore C++16-Dec-12 4:18 
GeneralRe: DropDownList changed after reading SelectedValue !!!! Pingroupchester_it2116-Dec-12 9:10 
QuestionIIS7.5 Specific Problem PinmemberAyan Chatterjee15-Dec-12 7:07 
QuestionRe: IIS7.5 Specific Problem Pinmemberryanb3118-Dec-12 5:01 
QuestionResponse and Redirect PinmemberAni199115-Dec-12 3:32 
AnswerRe: Response and Redirect Pinmemberjkirkerx16-Dec-12 18:17 
AnswerRe: Response and Redirect Pingroupchester_it2117-Dec-12 17:41 
QuestionSlideShow Pinmembercdpsource14-Dec-12 12:28 
AnswerRe: SlideShow Pinmemberryanb3118-Dec-12 5:04 

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

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


Advertise | Privacy | Mobile
Web03 | 2.8.140721.1 | Last Updated 23 Jul 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid