Search Result

Collapse
8 results in 0.0029 seconds.
Keywords
Members
Tags
postback
  •  

  • JROY
    started a topic GetPostBackEventReference Problem

    GetPostBackEventReference Problem

    My page has 2 usercontrols dynamically created. Both implement IPostBackEventH andler. I created the RaisePostBackEv ent method. In the parent page, I used GetPostBackEven tReference. The first time, it works fine. In the next few clicks need to click 2 times to enter the RaisePostBackEv ent. Anyone have any tips? The following code:

    Parent Page
    Code:
    Protected Sub Page_Load(sender As Object, e As System.EventArgs) Handles Me.Load
    ...
    See more | Go to post
    Last edited by Frinavale; Jan 20 '12, 08:57 PM. Reason: Added code tags.

  • aleact
    started a topic stop gridview posting back on clicking anywhere

    stop gridview posting back on clicking anywhere

    I have a gridview bound to some sql data and I have some textboxes that let me search this data. The problem is that when the client enters a search term, they can click anywhere on the page and the search happens. But they only want it to happen when the "search" button is pressed. (I am surprised this is a 'problem' but what can I do?)

    Can I somehow stop the postback from happening until I call it? I tried an Update...
    See more | Go to post
    Last edited by Niheel; Oct 10 '11, 08:06 PM. Reason: part of question, merged

  • Disable a button on click to prevent multiple postbacks

    Most of the times we wish to disable the asp.net button control just after the first click so that we may prevent multiple postbacks. This is sensitive work since multiple posting may cause multiple transactions and bring about problems. So we need a proper solution.
    One solution would be to catch the click event from client side scripting and immediately disable the button. But this approach has the problem that the server side event won't...
    See more | Go to post
    Last edited by Frinavale; Sep 29 '11, 03:55 PM. Reason: Link removed. If you wish to share your insights with us using this forum please post the insight here. This volunteer based forum is designed to help people solve their problems and your help is g

  • Ewan
    started a topic Gridview data populates only after button click.

    Gridview data populates only after button click.

    Hi

    I have a gridview which should populate based on some criteria that the end user selects.

    To enable the user to enter the required criteria i have added some Web Controls like Textbox,Drop Down Lists etc.



    My code behind for getting the data is as below
    Code:
    Imports System.Data
    Imports System.Data.SqlClient
    
    Protected Sub Page_Load(ByVal sender As Object,
    ...
    See more | Go to post

  • Dynamically loaded User Control, reading data on postback

    Hi:

    I am loading a user control on postback of a link click event. Now, when I try to retrieve the selected values in this control on button click event (next postback), I am not able to. Can you please help me out?

    I am using page_init with a IsPostBack condition. but it reloads the user control and I am not able to get the selected values.

    Thanks in advance.

    I can provide the code if ...
    See more | Go to post

  • saurabh9gupta
    started a topic Rating an image in grid view

    Rating an image in grid view

    Hello All,

    I ve made a webpage in which I am displaying images in a grid.(the logic is that i have stored the path in the database and using EvalPath i m displaying the image.)

    Now i have also added a Javascript code which generates a lightbox kinda effect.

    The problem is that I want to take the Id of the image so that when the user tries to RATE any image on the site, a code executes backend that stores...
    See more | Go to post

  • z1freeride
    started a topic Post Back without runat="server" ?

    Post Back without runat="server" ?

    I can't seem to get this form to Post Back:

    Code:
    <form action="test.aspx" method="post">
        <input type="text" id="blah" />
        <input type="submit" value="post" />
    </form>
    Page.IsPostBack returns false. Do I need runat="server" ? I have two forms on one page, so I can't use it on both of them.
    See more | Go to post
    Last edited by Frinavale; Mar 23 '09, 08:06 PM. Reason: Moved to ASP.NET Answers from .NEt

  • Matt
    Guest started a topic what is postback?

    what is postback?

    I always see the term "postback" from ASP book, but I am not sure if I fully
    understand the meaning. Here's my understanding so far, please correct me if
    any mistakes.

    Here's a typical html form:
    <form action="process .asp" method="post">
    'GUI code
    </form>

    "postback" action happens when the user click the submit button, that means
    it will...
    See more | Go to post
Working...