Search

You searched for the word(s): userid:213776

Matching Posts

  • Re: Evil ScriptManager.RegisterStartupScript when there is function pageLoad(). need help~

    Hi All I end up use pure javascript to do hide and show in my code as below: function ClosePanel() { var pop = $get('PopForm1_Panel3'); pop.style.visibility='hidden'; } function OpenPanel(message) { var pop = $get('PopForm1_Panel3'); pop.style.visibility='visible'; if(message != '') { alert(message); } } Then use ScriptManager.RegisterStartupScript ScriptManager.RegisterStartupScript(this.Parent.Page, this.GetType(), "PopControlOpen", "OpenPanel
    Posted to ASP.NET AJAX Control Toolkit (Forum) by MIB426 on 2/13/2009
  • Re: Evil ScriptManager.RegisterStartupScript when there is function pageLoad(). need help~

    Hi Danny, Sorry my bad english. The reason i use "Evil", thats because i try to attract viewer. I will use word carefully next time. I did try _EVENTTARGET and __EVENTARGUMENT, but still cant make it work. Anyway i will give it try other way. Thanks for reply
    Posted to ASP.NET AJAX Control Toolkit (Forum) by MIB426 on 2/12/2009
  • Evil ScriptManager.RegisterStartupScript when there is function pageLoad(). need help~

    This Question is kind of extend problem from my previous post http://forums.asp.net/p/1380565/2926162.aspx#2926162 Let me explain problem i am having now. I have popcontrol , there is a search button and gridview inside of popcontrol. when the button click it will generate new result to gridview and leave popcontrol open , so i can make selection from gridview. In order to keep popcontrol open i have magic code as below: ScriptManager.RegisterStartupScript(Page, this.GetType(), "PopControlOpen"
    Posted to ASP.NET AJAX Control Toolkit (Forum) by MIB426 on 2/12/2009
  • Re: Open PopupControl in Code

    Hi Vicent I made it work I use ScriptManager.RegisterStartupScript(Page, this.GetType(), "PopControlOpen", "function pageLoad(){$find('PopupControlExtender3').showPopup();}", true); Then it works great. thank you for the hint~
    Posted to ASP.NET AJAX Control Toolkit (Forum) by MIB426 on 2/9/2009
  • Re: Open PopupControl in Code

    Hi Vicent I try both your suggestion result as below: BY "ScriptManager.RegisterStartupScript": protected void btnSearch_Click(object sender, EventArgs e) { BindData(); StringBuilder sb = new StringBuilder(); sb.Append("<script>"); sb.Append("$get('Panel3').style.visibility ='Visible';"); sb.Append("</scri"); sb.Append("pt>"); ScriptManager.RegisterStartupScript(Page, this.GetType(), "PopControlOpen", sb.ToString
    Posted to ASP.NET AJAX Control Toolkit (Forum) by MIB426 on 2/8/2009
  • Re: Open PopupControl in Code

    Hi Thank You for the reply, I try your way, still cant make it work. Did you change other part of code?
    Posted to ASP.NET AJAX Control Toolkit (Forum) by MIB426 on 2/6/2009
  • Open PopupControl in Code

    Hi All I know we can use PopupControl.Cancel(); to hide PopupControl, what if i want to leave it open or open it. The situation I got is. I have Panel1, Inside Panel1 has textbox, button, and gridview. textbox --> keyword button --> Search gridview --> Display Result. The problem i got is whenever i click button to search , it will close it automatcally . Its there way to prevent it close or leave it open? ASPX Code <%@ Page Language="C#" AutoEventWireup="true" CodeBehind
    Posted to ASP.NET AJAX Control Toolkit (Forum) by MIB426 on 2/5/2009
  • Re: How to Xor Two strings

    thank you i got it work.~
    Posted to C# (Forum) by MIB426 on 9/12/2007
  • How to Xor Two strings

    Hi All I have StringA = " 1234567890ABCDEF "; StringB =" FEDCBA0987654321 "; I got task says StringA and StringB XOR = " ECE8EC7117CE8ECE"; I found the link as below about XOR two strings in java http://forum.java.sun.com/thread.jspa?threadID=5130804&messageID=9469861 But i have problem with byte[] b = A ^ B in C# is there anyone can help me? or there is better way in C# to XOR two strings?? Thank you very much
    Posted to C# (Forum) by MIB426 on 9/12/2007
  • Best Approach for Preventing Multiple Logins (Only one user login per session)

    Hi, Is there any good sample/example/article for preventing multiple login? (Only one user login per session) I do have some idea for doing it such as session state in SQL, but i do like to know more. thank you very much James Wu
    Posted to State Management (Forum) by MIB426 on 8/10/2007
Page 1 of 85 (848 items) 1 2 3 4 5 Next > ... Last »