Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. a problem with ScriptManagerProxy

a problem with ScriptManagerProxy

Scheduled Pinned Locked Moved ASP.NET
helphtmlcomtutorialquestion
7 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Y Offline
    Y Offline
    Ya Rasoolallah
    wrote on last edited by
    #1

    hello I have a problem.please help me. my program works without ScriptManagerProxy correctly in the page of product.ascx but with it doesn't work! why? the source of program is available in below: example

    M Y 3 Replies Last reply
    0
    • Y Ya Rasoolallah

      hello I have a problem.please help me. my program works without ScriptManagerProxy correctly in the page of product.ascx but with it doesn't work! why? the source of program is available in below: example

      M Offline
      M Offline
      Marco Bertschi
      wrote on last edited by
      #2

      Please remember that we all do our work entirely voluntary, and most of us do not download zip-Files posted in a Forum because of the risk that it may include a virus. If you post the code you are referring to (in the appropriate <pre> - tags) you are going to receive a broader feedback, and it is more likely that someone can help you with your issue.

      Veni, vidi, caecus | Everything summarizes to Assembly code

      1 Reply Last reply
      0
      • Y Ya Rasoolallah

        hello I have a problem.please help me. my program works without ScriptManagerProxy correctly in the page of product.ascx but with it doesn't work! why? the source of program is available in below: example

        Y Offline
        Y Offline
        Ya Rasoolallah
        wrote on last edited by
        #3

        OK! the .aspx page

        <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

        <%@ Register src="admin/productions.ascx" tagname="Product" tagprefix="uc1" %>

        <html xmlns="http://www.w3.org/1999/xhtml">
        <head runat="server">
        <title>Untitled Page</title>

        </head>
        <body>
        <form id="form1" runat="server">

        </form>
        

        </body>
        </html>

        the .ascx page

        <%@ Control Language="C#" AutoEventWireup="true" CodeFile="Productions.ascx.cs" Inherits="Admin_Productions" %>
        <%@ Import Namespace="System.Data.SqlClient"%>
        <%@ Import Namespace="System.Configuration"%>

                  در این دسته بندی داده ای نیست
        
        L 1 Reply Last reply
        0
        • Y Ya Rasoolallah

          OK! the .aspx page

          <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

          <%@ Register src="admin/productions.ascx" tagname="Product" tagprefix="uc1" %>

          <html xmlns="http://www.w3.org/1999/xhtml">
          <head runat="server">
          <title>Untitled Page</title>

          </head>
          <body>
          <form id="form1" runat="server">

          </form>
          

          </body>
          </html>

          the .ascx page

          <%@ Control Language="C#" AutoEventWireup="true" CodeFile="Productions.ascx.cs" Inherits="Admin_Productions" %>
          <%@ Import Namespace="System.Data.SqlClient"%>
          <%@ Import Namespace="System.Configuration"%>

                    در این دسته بندی داده ای نیست
          
          L Offline
          L Offline
          Lost User
          wrote on last edited by
          #4

          If you are expecting people to help you with this then you need to explain exactly what the problem is and where in all that code it occurs. Just dumping your code and saying "it does not work" is not enough.

          Veni, vidi, abiit domum

          Y 1 Reply Last reply
          0
          • L Lost User

            If you are expecting people to help you with this then you need to explain exactly what the problem is and where in all that code it occurs. Just dumping your code and saying "it does not work" is not enough.

            Veni, vidi, abiit domum

            Y Offline
            Y Offline
            Ya Rasoolallah
            wrote on last edited by
            #5

            OK but i said that what problem is. I have three page. The default page and one user control and third ,code behind of the user control that i have put it in previous post. My program work correctly without the ScriptManagerProxy (without Ajax) but with it doesn't work.(in the .ascx page).

            <%--------my code--------%>

            If i remove the Ajax tag that have put above,my program hasn't any problem BUT if put it ,doesn't work properly. now do you help me?:rose:

            L 1 Reply Last reply
            0
            • Y Ya Rasoolallah

              OK but i said that what problem is. I have three page. The default page and one user control and third ,code behind of the user control that i have put it in previous post. My program work correctly without the ScriptManagerProxy (without Ajax) but with it doesn't work.(in the .ascx page).

              <%--------my code--------%>

              If i remove the Ajax tag that have put above,my program hasn't any problem BUT if put it ,doesn't work properly. now do you help me?:rose:

              L Offline
              L Offline
              Lost User
              wrote on last edited by
              #6

              Sorry, I'm not an ASP expert. I was merely suggesting that you need to provide full details of your problem if you want people to help you. Don't assume that people can guess what you are doing.

              Veni, vidi, abiit domum

              1 Reply Last reply
              0
              • Y Ya Rasoolallah

                hello I have a problem.please help me. my program works without ScriptManagerProxy correctly in the page of product.ascx but with it doesn't work! why? the source of program is available in below: example

                Y Offline
                Y Offline
                Ya Rasoolallah
                wrote on last edited by
                #7

                hello again see,my problem exactly is that my program without putting the ScriptManagerProxy hasn't any problem and works properly.but with it doesn't work. "doesn't work" is in other word,not that my program has an error,no,only works bad.(i haven't a syntax error while have a runtime error only and only for the ScriptManagerProxy tag ) for more explanations: in the code below,if we haven't ScriptManagerProxy tag in the page,we can to enter the values in the fiels and press the button to sends the values.but if we put ScriptManagerProxy tag in the page,the program isn't able to send the values because says FileUpload1.HasFile is false (fileupload1 is empty)then the if condition isn't true therefore my Query doesn't run.i hope to explain properly.

                                \*
                             
                
                        
                
                        
                
                            
                
                                
                            
                
                            
                
                            
                                \*
                
                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups