Click here to Skip to main content
       

ASP.NET

 
JokeRe: asp.net Pinmembern.podbielski22-Dec-12 21:54 
AnswerRe: asp.net PinmemberJ4amieC20-Dec-12 23:26 
AnswerRe: asp.net PinmemberProgramFOX20-Dec-12 23:52 
AnswerRe: asp.net [modified] PinmemberCommDev23-Dec-12 14:15 
QuestionProblem with change Gridview cell value [modified] Pinmemberjojoba201119-Dec-12 23:24 
AnswerRe: Problem with change Gridview cell value [modified] PinmemberCommDev23-Dec-12 14:24 
QuestionHow to add anchor tag in uploded html page PinmemberVyasRavi677619-Dec-12 18:54 
AnswerRe: How to add anchor tag in uploded html page Pinmember@AmitGajjar20-Dec-12 5:39 
GeneralRe: How to add anchor tag in uploded html page Pinmemberchirag774920-Dec-12 21:34 
AnswerRe: How to add anchor tag in uploded html page [modified] PinmemberCommDev20-Dec-12 20:04 
GeneralRe: How to add anchor tag in uploded html page Pinmemberchirag774920-Dec-12 20:14 
GeneralRe: How to add anchor tag in uploded html page Pinmembern.podbielski22-Dec-12 21:57 
GeneralRe: How to add anchor tag in uploded html page Pinmembern.podbielski22-Dec-12 21:57 
Questionjquery for asp.net sometimes work sometimes doesn't work [modified] PinmemberDhyanga19-Dec-12 11:57 
Hi,
 
I have jquery implemented for the popup confirmation on radio button select. So my radio button has yes or no options. so in each select, the popup should show up and based on the option, it has to hide and show the panel. But the problem is sometimes for the same option, jquery runs and sometimes for the same option jsquery doesn't run.
 
the following jquery is in my aspx page.
<script language="JavaScript" type="text/javascript">
 
        $(document).ready(function() {
 

 
    function confirmDelete()
         {
             if (confirm('It will delete your file. Is that Ok?'))
            {
                document.getElementById('<%= radbutSelector.ClientID %>').click();
                return true;
            }
            return false;
        }
 
    </script>
 
 
Now i have called this jquery on radio button select like this
 <asp:radiobuttonlist id="radWantEnter" runat="server"  
                 RepeatDirection="Horizontal" RepeatLayout="Flow" CssClass="radio" 
                    AutoPostBack="True" onclick="return confirmDelete();"
                    >
      <asp:Button Text="hiddenButton" ID="radbutSelector" runat="server" Style="display: none;"
        OnClick="radbutSelector_Click" />
 
And the code behind the radio button select is like this
  protected void radbutSelector_Click(object sender, EventArgs e)
        {
            
              
                if (radWantEnter.SelectedValue == "Yes")
                {
                    pnl1.Visible = true;
                   
                }
 
                else
                {
                    pnl2.Visible = false;
                    
                }
           
        }
 
sometimes the radbutSelector executes its codes and sometimes its not for the same event. Any idea and any solutions would be great help.
Dhyanga


modified 19-Dec-12 18:05pm.

AnswerRe: jquery for asp.net sometimes work sometimes doesn't work Pinmemberjkirkerx19-Dec-12 17:25 
GeneralRe: jquery for asp.net sometimes work sometimes doesn't work PinmemberDhyanga19-Dec-12 17:50 
AnswerRe: jquery for asp.net sometimes work sometimes doesn't work Pinmemberjkirkerx19-Dec-12 18:09 
QuestionOnly 1 use for admin? PinmemberxnaLearner19-Dec-12 1:28 
QuestionHave userID in view, need userName posted PinmemberxnaLearner19-Dec-12 0:41 
AnswerRe: Have userID in view, need userName posted PinmemberMatt U.19-Dec-12 4:11 
AnswerRe: Have userID in view, need userName posted [modified] PinmemberCommDev20-Dec-12 22:55 
QuestionUnable to start program http://localhost:1837/default.aspx using VS 2008 in Windows XP IE 8 Pinmembersr15919-Dec-12 0:08 
QuestionHow to access 'name' given when user registers PinmemberxnaLearner18-Dec-12 22:52 
AnswerRe: How to access 'name' given when user registers PinmemberxnaLearner18-Dec-12 22:58 
Questionsequence contains no elements PinmemberxnaLearner18-Dec-12 2:44 
AnswerRe: sequence contains no elements PinmemberMatt U.18-Dec-12 7:23 
GeneralRe: sequence contains no elements PinmemberxnaLearner18-Dec-12 23:00 
GeneralRe: sequence contains no elements PinmemberMatt U.19-Dec-12 1:47 
Question[session] returns null PinmemberxnaLearner17-Dec-12 23:20 
AnswerRe: [session] returns null PinmemberRahul Rajat Singh17-Dec-12 23:47 
GeneralRe: [session] returns null PinmemberxnaLearner18-Dec-12 0:10 
GeneralRe: [session] returns null PinmemberxnaLearner18-Dec-12 0:12 
SuggestionRe: [session] returns null PinmemberChandrabhan Sangale18-Dec-12 17:59 
QuestionMultilingual support for Web Application PinmemberAB777117-Dec-12 23:18 
AnswerRe: Multilingual support for Web Application PinmemberRahul Rajat Singh17-Dec-12 23:43 
GeneralRe: Multilingual support for Web Application PinmemberAB777118-Dec-12 2:27 
AnswerRe: Multilingual support for Web Application Pinmemberdeflinek17-Dec-12 23:57 
SuggestionRe: Multilingual support for Web Application PinmemberChandrabhan Sangale18-Dec-12 18:01 
Questiongoogle map Pinmembercdpsource17-Dec-12 20:52 
AnswerRe: google map Pinmemberryanb3118-Dec-12 4:55 
QuestionProblem to send message from MSMQ PinmemberTRAORE cheickna17-Dec-12 10:20 
Questionexport report failed in crystal report Pinmemberhimadribanik17-Dec-12 6:51 
QuestionRefresh particular parts on masterpage Pinmembercdpsource17-Dec-12 5:58 
AnswerRe: Refresh particular parts on masterpage PinmemberMatt U.17-Dec-12 6:51 
GeneralRe: Refresh particular parts on masterpage Pinmembercdpsource17-Dec-12 6:59 
GeneralRe: Refresh particular parts on masterpage PinmemberMatt U.17-Dec-12 7:06 
GeneralRe: Refresh particular parts on masterpage Pinmembercdpsource17-Dec-12 8:23 
SuggestionRe: Refresh particular parts on masterpage PinmemberChandrabhan Sangale18-Dec-12 18:04 
Questionsession variable / temp data PinmemberxnaLearner17-Dec-12 4:25 
QuestionSalable Comet (server hang while more user) Pinmembervaibhav.baldha17-Dec-12 3:47 

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
Web01 | 2.8.140814.1 | Last Updated 20 Aug 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid