Search

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

Matching Posts

  • Re: scrollbar rendered with js not working

    Hi dangerouschotu, Your links were somehow helpfull to understand the process. The solution i came up with, is: private void loadJs() { Type cstype = this.GetType(); String csname1 = "test1"; String csname2 = "test2"; if (!Page.ClientScript.IsClientScriptBlockRegistered(cstype, csname1)) { StringBuilder cstext2 = new StringBuilder(); cstext2.Append(""); cstext2.Append("var wndo = new dw_scrollObj('wn', 'lyr1'); "); cstext2.Append("wndo
    Posted to Client Side Web Development (Forum) by BenHur on 11/13/2009
  • scrollbar rendered with js not working

    Hi guys, I have a strange problem... I have the example from this site: http://www.dyn-web.com/code/scroll/vert.php I put in my header of the page this two js functions: function init_dw_Scroll() { var wndo = new dw_scrollObj('wn', 'lyr1'); wndo.setUpScrollbar("dragBar", "track", "v", 1, 1); wndo.setUpScrollControls('scrollbar'); } // if code supported, link in the style sheet and call the init function onload if (dw_scrollObj.isSupported())
    Posted to Client Side Web Development (Forum) by BenHur on 11/12/2009
  • convert fk to object?

    Hi, I have a question regarding the foreign keys. In java, if i have tt fk in a table, that fk is seen like an object. Let take an ex: Table 1: Users: - user_id (int) - status (int) (fk to status_id) Table 2: Status: - status_id - status In java, i can print the status like this: Users.status.status where the 1st status is the fk and the 2nd one is the string value from Status table. How can i do this in c#? I use DataClasses dbml generated but when i type Users.status (int) when i put the 2n "
  • Re: ImageButton on Command - not firing

    Thanks a lot for your help. Seems to work like a charm, now. The conclusion is to use ViewState for this kind of operation. Thanks again.
    Posted to Web Forms (Forum) by BenHur on 7/22/2009
  • Re: ImageButton on Command - not firing

    Hi Gary, Firstly, thanks for your patience with this problem. You code is succesfully working but my scenario is a little bit more complex. I will not put my entire page here because i have over 1000 lines of code but i do put only the thing that shows you that i really need calling DataBind on my repeater: So, on your example i put another Link Button outside of the updatePanel. When clicking this link btn a full postback is being done. And i put this in page load: if (!IsPostBack) DataBinds();
    Posted to Web Forms (Forum) by BenHur on 7/5/2009
  • Re: ImageButton on Command - not firing

    Not solved yet.... Any suggestions?
    Posted to Web Forms (Forum) by BenHur on 7/4/2009
  • Re: ImageButton on Command - not firing

    Hi Gary, I took your example, put it to my page and was not running... I made a NEW page, only with your example and it was running !!!! After another hour of struggling my head with the code...i discovered the point. Why my function (your or that old mine) was not firing???? Because i manually put a SELECT command to my datasource and after that i bind it to the repeater. And if i call repeaterDetalii.DataBind() (this my repeater which contains the ImageButton...and this repeater is a child of an
    Posted to Web Forms (Forum) by BenHur on 7/3/2009
  • Re: ImageButton on Command - not firing

    Hi mudassarkhan I cannot use OnClick event because i need to send this CommandArgument="<%# Container.ItemIndex%>" because i need it in the method.
    Posted to Web Forms (Forum) by BenHur on 7/1/2009
  • Re: ImageButton on Command - not firing

    My ImageButton is inside a repeater which is inside an UpdatePanel. I have registered as postback trigger like i;ve made for other buttons that worked. Repeater repeaterDetalii = (Repeater)Tab1.FindControl("repeaterDetalii"); foreach (RepeaterItem rptItem in repeaterDetalii.Items) { ImageButton imgBtnWishList = (ImageButton)rptItem.FindControl("imgBtnWishList"); AsyncPostBackTrigger triggerWishList = new AsyncPostBackTrigger(); //triggerWishList.EventName = "Click";
    Posted to Web Forms (Forum) by BenHur on 7/1/2009
  • Re: ImageButton on Command - not firing

    Yes, u are right. Now the image button fires the method when clicked and do a postback too. BUT if i put it inside the UpdatePanel and register the control like i showed above, it no longer fires... Do u know why?
    Posted to Web Forms (Forum) by BenHur on 7/1/2009
Page 1 of 6 (52 items) 1 2 3 4 5 Next > ... Last »