Telerik Forums
UI for ASP.NET AJAX Forum
10 answers
420 views
hi

I have this GridView code and i have tried using this in Radgrid. it seems not working.

how do i convert this Gridview code to be used in Radgrid. Thanks

public class GridDecorator
{
    public static void MergeRows(GridView gridView)
    {
        for (int rowIndex = gridView.Rows.Count - 2; rowIndex >= 0; rowIndex--)
        {
            GridViewRow row = gridView.Rows[rowIndex];
            GridViewRow previousRow = gridView.Rows[rowIndex + 1];

            for (int i = 0; i < row.Cells.Count; i++)
            {
                if (row.Cells[i].Text == previousRow.Cells[i].Text)
                {
                    row.Cells[i].RowSpan = previousRow.Cells[i].RowSpan < 2 ? 2 : previousRow.Cells[i].RowSpan + 1;
                    previousRow.Cells[i].Visible = false;
                }
            }
        }
    }
}


protected void gridView_PreRender(object sender, EventArgs e)
{
    GridDecorator.MergeRows(gridView);
}
nisha
Top achievements
Rank 1
 answered on 17 Jun 2010
1 answer
126 views
Hi!
I am not able to change the Rad Editor's default font-family in Edit Mode. It is always Times New Roman. I have found some help on this suggesting to change the style in the EditorContentArea.css of the Default Skin. But those articles seem to refer to another Version of the Rad Editor, as I cannot find a "Skins" folder for my installation, there is none in C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\wpresources\RadEditorSharePoint\5.7.2.0__1f131a624888eeed . I am using the full version (5.7.2.0) on a MOSS 2007 installation.
Thanks a lot for your help
Tatjana
Rumen
Telerik team
 answered on 17 Jun 2010
1 answer
80 views
Hi.
I recently upgraded my website from .NET 2.0 to 3.5 and everything seems to work fine (after I added the 3.5 version of Telerik.dll into my bin-folder).

But, my Scheduler does not respond to any left-click (i.e. trying to change date, add an event), and the only way to interact with the scheduler is to right-click in order to get the dropdown-menu. However, it is still not possible to right-click any of the menu-items (i.e. add new appointment).

Have I forgotten anything?

Looking forward to your replies.
Best regards,
Royend
Peter
Telerik team
 answered on 17 Jun 2010
1 answer
174 views
Hello

I am attempting to access the index of a row selected in a radGrid using itemIndexHierarchical, however I am getting an incorrect index in certain cases.

I am binding my data on the client using set_dataSource(json) and dataBind().  If there are no rows when the grid is first populated, then I add one (or several) by adding an item to my json, then doing set_dataSource and dataBind(), then call itemIndexHierarchical(), the index that gets returned is 1 higher than it should be.

Any workaround to this (other than counting the number of items in the grid before I do anything, if there are 0, then subtract 1 from the value I get back from itemIndexHierarchical())?
Nikolay Rusev
Telerik team
 answered on 17 Jun 2010
1 answer
122 views
Flter support sql code generation from expressions, how i can generate expressions from saved sql code?
Nikolay Rusev
Telerik team
 answered on 17 Jun 2010
1 answer
111 views
Hi...I'm having problems with the labels, for one reason the chart don't show the labels for all the bars....attached is an image of my problem.
hope you can help me =)

Regards!
Ves
Telerik team
 answered on 17 Jun 2010
3 answers
195 views
First of all,
every time i think i understand how RadAjaxManager and RadAjaxManagerProxy works, i find that it does not work as i understood it.
that's why i am here now.

I have a master page, that hold a header user control in it. this header user control has a login user control with a login link that opens a modal tooltip with a dynamically created user control with a user name and password fields.

i put a radajaxmanager in the master page, then a proxy in the header user control, the login user control, and the login dialog user control.

But still, when i click login the page refreshes!!!!

i tried to track this down, but as i said, i am not sure what is wrong and if it is me, or something else.

can you help please? why the login button causes a post back? and how can i trace this? and know what is causing the post back?

 

Iana Tsolova
Telerik team
 answered on 17 Jun 2010
3 answers
99 views
how can I get the insert item to display right above the footer instead of beneath it when I'm using insertitemdisplay=bottom on GridTableView  of the radgrid

also by default when tabbing into the grid it goes to the insert row before the rest which is confusing if you have the insert row at the bottom
Daniel
Telerik team
 answered on 17 Jun 2010
5 answers
236 views
I cannot use the resource(resx) file to translate (localize) the radupload component recommended on documentation, however assign the properties to localize, it works.

Unfortunately when i publish the website, those properties does not work anymore.

Does anyone know some server configurations that could influence this?

ps: i am using q2 2008

Gilberto
Genady Sergeev
Telerik team
 answered on 17 Jun 2010
2 answers
133 views
Hi,

We are using RadEditor (Full Version) in our WIKI in german language (MOSS 2007) At the beginning we used Radeditor light and then switched to full version. For some reason we have now the problem that when somebody is using ä, ö, ü in Wiki links f.e. [[Aufwände]] the editor is saving this as [[Aufwnde|Aufwände]] and is producing a site called Aufwnde, when you click on the linked word.

With the light editor we hadn´t such a problem. What do we have to do to solve this problem?

Thank you for any suggestions, 
Lothar  
Sandra Eibensteiner
Top achievements
Rank 1
 answered on 17 Jun 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?