Search

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

Matching Posts

  • Re: Vertical Alignment of RadioButtonList

    :D he's quite arrogant but what he posted answers the question. already tested it and it works! tnx buddy.
    Posted to Web Forms (Forum) by savior14 on 11/10/2009
  • Re: how to prevent window.onbeforeunload not to trigger on clicking image?

    what ive posted is the relevant code itself (as ive understand). please see my first post. ive updated it. seems like theres a glitch when i copy paste the code. its not arranged properly. yeah thats whats weird, as what happens, it causes the page to unload/reload whenever i click the image ( which is the id="imgdiv<%# Eval("subcore_id") %>" )
    Posted to Client Side Web Development (Forum) by savior14 on 8/25/2009
  • Re: how to prevent window.onbeforeunload not to trigger on clicking image?

    updated my post again. i dont know how can i compress this to a smaller 1 because i think this is the smallest. function expandcollapse (this is the function im using on my image to hide/show <div>) function confirmExit (function im calling on onbeforeunload) the rest of the code is the datagrid where my image is.
    Posted to Client Side Web Development (Forum) by savior14 on 8/25/2009
  • how to prevent window.onbeforeunload not to trigger on clicking image?

    the image i was taking about is associated with a collapsible div. so everytime i click that image a div will be expanded(and vice-versa) and will show some contents. now what happens is whenever i click the image it triggers window.onbeforeunload whereas i have a code there that will ask the user if he/she wants to exit the page. well naturally its not right. how can i prevent that to happen? tnx in advance! :) function expandcollapse(obj,row) { var div = document.getElementById(obj); var img =
    Posted to Client Side Web Development (Forum) by savior14 on 8/25/2009
  • Re: HoverMenuExtender - datagrid doesnt update

    problem solved! yes correct.. i just put my upVisaDetails inside the updatepanel where my textbox is. that fixed the problem! tnx for the help. =)
  • why my linkbutton opens up a new page?

    i dont want that to happen. i also dont have any onclientclick commands to open up a new window. what happens is when i click the linkbutton on my datagrid, before it goes to datagrid1_itemcommand or even the page_load sub, it opens up a new page first >.>. what are the possible reasons why this happens? tnx in advance!
    Posted to Web Forms (Forum) by savior14 on 8/24/2009
  • Re: why my linkbutton opens up a new page?

    <base target="_self"/> was the fix on my problem thanks a lot to all those who replied! =)
    Posted to Web Forms (Forum) by savior14 on 8/24/2009
  • EnableEvenValidation to false on a .ascx

    is there a way to turn this off on a .ascx? afaik its only for aspx. and the alternative way is setting it off on web.config. but in my situation i cannot do that, it'll affect all the pages on the project im on. there's also another way that ive read on a blog is using the " RegisterForEventValidation ". but using this, you need to register all the POSSIBLE VALUES that a user can input. (thats totally insane) tried this but, but as ive said, need to register all the possible values
    Posted to Web Forms (Forum) by savior14 on 7/5/2009
  • Re: Copy/Clone Control?

    [quote user="prasadvemala"] Hi, Here is the answer if you didn't get it. private object CloneControls(object o) { Type type = o.GetType(); PropertyInfo[] properties = type.GetProperties(); Object retObject = type.InvokeMember("", System.Reflection.BindingFlags.CreateInstance, null, o, null); foreach (PropertyInfo propertyInfo in properties) { if (propertyInfo.CanWrite) { propertyInfo.SetValue(retObject, propertyInfo.GetValue(o, null), null); } } return retObject; } Refer to
    Posted to Web Forms (Forum) by savior14 on 7/2/2009
  • help on cloning/copying of controls

    Sub GenerateTabs() Dim dt As DataTable Dim ddl As New DropDownList dt = objMisc.GetCompCore() ddl.DataSource = dt ddl.DataMember = "comp_core_comptence" ddl.DataValueField = "core_id" ddl.DataTextField = "core_desc" ddl.DataBind() Dim tmpArray(20) As Control staticTab.Controls.CopyTo(tmpArray, 0) For i As Integer = 0 To ddl.Items.Count - 1 Dim tp As New AjaxControlToolkit.TabPanel() tp.ID = "newTab" + (i).ToString tcCompCore.Controls.Add(tp) Next For j As Integer
    Posted to Web Forms (Forum) by savior14 on 7/2/2009
Page 1 of 2 (14 items) 1 2 Next >