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
M

Muc_

@Muc_
About
Posts
30
Topics
9
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • RepeaterItems Problem
    M Muc_

    What i try is to get 2 RepeaterItems in one Item... I guess its possible or not? Here is my Code but my page still always empty

    Repeater getGroupRepeater = (Repeater)sender;

            for (int i = 0; i < getGroupRepeater.Items.Count; i += 2)
            {
                RepeaterItem item = new RepeaterItem(i, ListItemType.Item);
    
                if (i != getGroupRepeater.Items.Count - 1)
                {
                    item.Controls.Add(getGroupRepeater.Items\[i\]);
                    item.Controls.Add(getGroupRepeater.Items\[i + 1\]);
    
                }
                else if (i == getGroupRepeater.Items.Count - 1)
                {
                    item.Controls.Add(getGroupRepeater.Items\[i\]);
                }
    
                getGroupRepeater.ItemTemplate.InstantiateIn(item);
            }
    
    ASP.NET help question

  • Using Ajax control in User Control (ascx) [modified]
    M Muc_

    is already done! thxs for your helps.

    modified on Tuesday, June 22, 2010 3:12 AM

    ASP.NET help tools

  • Using Ajax control in User Control (ascx) [modified]
    M Muc_

    but what is the right event to put into?

    ASP.NET help tools

  • Using Ajax control in User Control (ascx) [modified]
    M Muc_

    HELLO, I now have a template contains a script manager. but I get this error message but still Extender controls may not be registered after PreRender

    ASP.NET help tools

  • Using Ajax control in User Control (ascx) [modified]
    M Muc_

    Nope, i c´ant! This is Standart site for everysite inour CMS. I'm trying to do exactly that! Just when none is there in the page where I try to add the control at runtime and add a Script Manager. And i get Collection was modified; enumeration operation may not execute.

    ASP.NET help tools

  • Using Ajax control in User Control (ascx) [modified]
    M Muc_

    but what shall i do if there is none available in the master page?

    ASP.NET help tools

  • Using Ajax control in User Control (ascx) [modified]
    M Muc_

    Tach experts .. I have ne problem where I do not know to solve that... I have a control that is added in a page. Basically it is a Content Management System. It selects a new page and can add different controls. In the control itself, I use a ModalPopupvon Ajax, but who needs a script manager. Now I wonder whether in the side where the control is already added a ScriptManager exists otherwise I add one. Here

    void AddScriptMagnager()
    {
    //get the existing ScriptManager if it exists on the page

            ScriptManager \_scriptMan = ScriptManager.GetCurrent(this.Page); 
    
            if (\_scriptMan == null)
            {
                //create new ScriptManager and EnablePartialRendering or whatever
                \_scriptMan = new ScriptManager();
                \_scriptMan.EnablePartialRendering = true;
                \_scriptMan.EnableScriptLocalization = true;
    
                if (this.MuMPage.Page.Form != null)
                {
                    foreach (Control ctrl in this.MuMPage.Page.Form.Controls)
                    {
                      this.MuMPage.Page.Controls.Add(\_scriptMan);
                    }                    
                }
            }
        }
    

    I always get the error that a Extendersteuerelemente may not be registered before PreRender. I appreciate any help and thanks a lot in advance.

    modified on Monday, June 21, 2010 9:02 AM

    ASP.NET help tools

  • ASP:NET: Page leaves or not [modified]
    M Muc_

    wann know if a event is available to catch if someone has left the the page or not. So I can remeber him to save his things... Thx forward.

    modified on Monday, May 3, 2010 7:12 AM

    ASP.NET

  • How to find all Created Items in a Repeater
    M Muc_

    if (CountGroup == 6) { Repeater getGroupRepeater = (Repeater)sender; foreach (RepeaterItem rptItem in getGroupRepeater.Controls) { foreach (Control ctrl in rptItem.Controls) { if (ctrl is Panel) { Panel panelGlobalContainerBox = (Panel)ctrl; if (countItemdataBound) { panelGlobalContainerBox.CssClass = "content_left"; //panelGlobalContainerBox.BackColor = System.Drawing.Color.Red; countItemdataBound = false; } else { panelGlobalContainerBox.CssClass = "content_right"; //panelGlobalContainerBox.BackColor = System.Drawing.Color.Green; countItemdataBound = true; } } } } } THX Abhishek Sur for your Time its solved now

    ASP.NET question csharp html css help

  • How to find all Created Items in a Repeater
    M Muc_

    I have read it I mean create outside the function the counter. if the counter has reached 2, then I'll get the created controls and put them into the new DIV with CSS... Thats my GroupRepeater ItemdataBound protected virtual void RepeaterGroup_ItemdataBound(object sender, RepeaterItemEventArgs e) { MuMSkillGroup group = (MuMSkillGroup)e.Item.DataItem; SkillGroupControl currentGoup = (SkillGroupControl)e.Item.FindControl("Skillgroup"); currentGoup.CurrentGroupName = group.SkillGroupName; currentGoup.IsMatrix = false; currentGoup.BindAsMyskillpage = true; }

    ASP.NET question csharp html css help

  • How to find all Created Items in a Repeater
    M Muc_

    I'm sorry do not understand

    ASP.NET question csharp html css help

  • How to find all Created Items in a Repeater
    M Muc_

    Currently, there are a total of 7 groups. I think you should put a counter and if a number is unbarred then DIV to left otherwise DIV to the right?

    ASP.NET question csharp html css help

  • How to find all Created Items in a Repeater
    M Muc_

    Hi, maybe somebody can help me further, I have a Repeater [Group Repeater], who created a group and in the RepeaterGroup is another Repeater [Skill Repeater], repeats many of the skills of the Group. So how can I find out whether two groups were already created, to get them and put them in other DIV and add CSS-Style? should look like this Click here

    ASP.NET question csharp html css help

  • Pass Data from Page to Control and find current loaded Control
    M Muc_

    I had this event already knew that but not if I set a property of the control is static that the value is also reingespeichert. I had this event already knew that but not if I set a property of Control that the value is static stores even.

    protected virtual void RepeaterGroup_ItemdataBound(object sender, RepeaterItemEventArgs e)
    {
    MuMSkillGroup group = (MuMSkillGroup)e.Item.DataItem;
    SkillGroupControl currentGoup = (SkillGroupControl)e.Item.FindControl("Skillgroup");
    }

    But thx a Lot!

    ASP.NET help question announcement

  • Pass Data from Page to Control and find current loaded Control
    M Muc_

    Butt how should i add a EventHandler from usercontrol in my aspx page in the Repeater if I can not find it?

    ASP.NET help question announcement

  • Pass Data from Page to Control and find current loaded Control
    M Muc_

    Hi people, maybe somebody knows to help me out. I have 2 problems: 1. How i can pass value from Page to a User Control maybe with a Event Delegate? 2. In the code below i have a user control, but I can not access it in the code behind and in the designer it is not registered. But as soon as I remove my update panel and repater it is visible or can be accessed on it. Why?

    thx a lot!

    ASP.NET help question announcement

  • BoundFiled/GridView
    M Muc_

    Im usin a GridView, Edit, Update, Delete and Cancel are already exist. Below the Header: SkillGroup is the BoundField and i try to click of the Boundfield. i aint have no labels. Just boundfield visible ="true"

    ASP.NET question

  • BoundFiled/GridView
    M Muc_

    Have some questions: Until now edit it so that when you click on the edittemplate appears. See Picture Is it possible to change it in such a way that the EditItemTemplate appears when you click on the BoundField ?

    ASP.NET question

  • Gridview Sorting with Up and Down Icons
    M Muc_

    Could you solve? I had exactly the same problem, only i wanted to have the icons in the rows

    ASP.NET css algorithms

  • GridView with Rows Sorted in Priority Order (Ranked)
    M Muc_

    I solved it(;-

    protected void GridView1_RowCommand(object sender, GridViewCommandEventArgs e)
    {
    if (e.CommandName == "Up")
    {
    int i = int.Parse((string)e.CommandArgument);
    GroupAdapter.Update(Convert.ToInt32(GridView1.DataKeys[i - 1].Values[0].ToString()), i + 1);
    GroupAdapter.Update(Convert.ToInt32(GridView1.DataKeys[i].Values[0].ToString()), i);
    BindData();
    }
    else if (e.CommandName == "Down")
    {
    int i = int.Parse((string)e.CommandArgument);
    GroupAdapter.Update(Convert.ToInt32(GridView1.DataKeys[i + 1].Values[0].ToString()), i);
    GroupAdapter.Update(Convert.ToInt32(GridView1.DataKeys[i].Values[0].ToString()), i + 1);
    BindData();
    }
    }

    ASP.NET database question
  • Login

  • Don't have an account? Register

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