Re: Questions about DropDowns

  •  06-16-2005, 5:31 PM

    Re: Questions about DropDowns

    uhmmm I'm afraid I can not give it to you at the moment for restrictions ......... But I can show you how the source
    code is... Here u Are
     
    Load Event: --->
    Response.Cache.SetNoStore();
    Response.Cache.SetExpires(DateTime.Now);
    Response.Cache.SetCacheability(HttpCacheability.NoCache);

    Editor1.AutoConfigure = CuteEditor.AutoConfigure.Full;
    Editor1.ShowPreviewMode =
    false;
    Editor1.EditCompleteDocument =
    true;

    in Not IsPostBack

    CuteEditor.ToolControl toolctrl=Editor1.ToolControls["Codes"];
    if(toolctrl!=null)
    {
        CuteEditor.RichDropDownList rddl=(CuteEditor.RichDropDownList)toolctrl.Control; 
        rddl.Items.Clear();

        while (oDataReader2.Read())
         {
            rddl.Items.Add(myTag, "article" + oDataReader2.GetInt32(0).ToString(), myTag);
         }

    }

    The problem appears after some time .... whe u are processing  other parts of the web page ...... you come back and the dropdown are partialy fill or fill twice ...

    Hope It clears the question

    Salu2s
    AAP




       
View Complete Thread