Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
89 views
Hello,

I have tried and searched everything in order to figure out how to hide pre-populated separator in my horizontal grid (which is loaded via XML).  I attached the picture.  Please don't mind the style, I know it's ugly, but it's what the client wants :)

Menu XML:

<Menu CssClass="RadMenu_Menu">
    <Group Flow="Horizontal">
        <Item
          Text="New"
          ImageURL="~/PresentationLayer/Images/Menu/Default/new.gif" />
        <Item
          Text="Delete Budget Split"
          ImageURL="~/PresentationLayer/Images/Menu/Default/delete.gif" />
        <Item
          Text="More Options"
          ImageURL="~/PresentationLayer/Images/Menu/Default/moreDown.gif" >
            <Group Flow="Vertical">
                <Item
                  Text="Edit"
                  ImageURL="~/PresentationLayer/Images/Menu/Default/edit.gif" />
                <Item
                  Text="Refresh List"
                  ImageURL="~/PresentationLayer/Images/Menu/Default/redo.gif" />
            </Group>
        </Item>
    </Group>
</Menu>


Thanks in advance!
Kalina
Telerik team
 answered on 25 Aug 2010
2 answers
119 views
Good Day All

In my machine i have Visual Studio 2005 and 2008 and i have Ajaxtoolkit for 3.5 and 1.0 installed on my machine and again i have Telerik Controls (2008) . Everything was working fine , but since i installed the Telerik 2010, My VS2005 Projects does not recognise ajax controls. The Update panel is not recognized , but i can still use Ajax-toolkit controls because of the RadScriptManager, So i want to use an UpdatePanel and its impossible, is there anyone who have this problem ?

Thanks
Vuyiswa
Top achievements
Rank 2
 answered on 25 Aug 2010
1 answer
94 views
In my website i have a grid with very large amount of data.
To reduce the loading time of the page i used client side binding (Using JSON) .

I have also enabled GZIP in the server to zip the JSON respnse .But the grid is taking more time to rendering the data,
Is there any way to reduce this?
How can i enable paging and virtual scrolling in this grid?

Code

SampleService.GetData(search, onComplete, onFailed);

 function onComplete(resultObject) {
            var tableView = $find("ctl00_ContentPlaceHolder_rgSearchResult_ctl00");          
            tableView.set_dataSource(resultObject);
            tableView.dataBind();
            return false;
        }



<telerik:RadGrid ID="rgSearchResult" runat="server" Width="100%" AllowFilteringByColumn="True"
                AllowSorting="True" AutoGenerateColumns="False" GridLines="None" AllowPaging="True"
                OnNeedDataSource="rgSearchResult_NeedDataSource" PageSize="50" AllowMultiRowSelection="True"
                OnPageIndexChanged="rgSearchResult_PageIndexChanged" ShowStatusBar="True" EnableViewState="False"
                CssClass="gridHome">
                <MasterTableView Width="100%" AutoGenerateColumns="false" AllowFilteringByColumn="True"
                    EnableViewState="False">
                    <RowIndicatorColumn>
                        <HeaderStyle Width="20px"></HeaderStyle>
                    </RowIndicatorColumn>
                    <ExpandCollapseColumn>
                        <HeaderStyle Width="20px"></HeaderStyle>
                    </ExpandCollapseColumn>
                    <Columns>
                    -----------
                    -----------
                    -----------
                    </Columns>
                </MasterTableView>
               
                <ClientSettings Scrolling-AllowScroll="true" Scrolling-ScrollHeight="500px">
                    <DataBinding EnableCaching="True">
                    </DataBinding>                  
                    <Scrolling UseStaticHeaders="true" />                  
                </ClientSettings>
            </telerik:RadGrid>


Pavlina
Telerik team
 answered on 25 Aug 2010
1 answer
144 views
Hi,
I am using the purchased version (2010.2.713.20) of Rad Controls. I want to have the functionality for user to click on any date on the RadCalendar and then drag through the RadCalendar to select all desired dates.
Can I do this? If yes then please guide me in doing this.


Thanks
Dimo
Telerik team
 answered on 25 Aug 2010
1 answer
58 views

Hi everyone,

 I have a radgrid with 3 checkboxes on it. When it loads it has many rows. For some of the rows the check boxes are enabled and for other they are disabled. 

 My problem is though I don't know where to put the intelligence that determines this. That is, I don't know what event to use Load, init, something else (render perhaps)? I need the user to be able to be able to see it every time the the page loads and when they postback.

 I would appreciate any advice/suggestions/simple code-samples that you may be able to offer.

Cheers,
Al.

Dimo
Telerik team
 answered on 25 Aug 2010
4 answers
185 views
Hello,
I had something very interesting occur earlier this week.  I implemented a custom HTTP module that makes all URL requests lowercase URLs (E.g. www.site.com/Folder/PAGE.aspx becomes www.site.com/folder/page.aspx) and then noticed that my RadTabStrips did not render on the page, I was wondering if this is because of a Response.End action.

So then I tried IIS 7.0's built in URLs to lowercase URL Rewriting rule and I have the same result.  I am using IIS 7.0 in Classic mode not Integrated mode.  THe URL rewriting is working fine, just not the rendering of the styling of the RadControls.

This is not isolated to just the RadTabStrip...RadDecorator and other others all have this behavior.  Many people will have this issue in all liklihood, how do I get around this?
saglam
Top achievements
Rank 2
 answered on 25 Aug 2010
3 answers
189 views
Hi,

When going to update a recordset, I got invariably the error "The string was not recognized as a valid DateTime." using the followings;

...
  
        <telerik:GridDateTimeColumn
            SortExpression="DateUpdated"
            DataType="System.DateTime"
            HeaderText="Updated"
            DataField="DateUpdated"
            UniqueName="DateUpdated"
            DataFormatString="{0:dd/MM/yyyy}"
            ReadOnly="true">
        </telerik:GridDateTimeColumn>
  
...

If I am removing the DataFormatString, it is working perfectly.
Any idea to fix this out ?

Regards,
David
Dave
Top achievements
Rank 2
 answered on 25 Aug 2010
4 answers
133 views
Hello,
I heard that there is an update problem with Reusable Content in RadEditor for MOSS.
Is it ok now?

Thank you.
Idan
Top achievements
Rank 1
 answered on 25 Aug 2010
1 answer
462 views
I have a RadNumericTextBox with the OnKeyPress client event set to test for the enter key.  If the Enter key is pressed, I'd like to change the event to do as if the Tab key was pressed.

Here is the Javascript:

function testForEnter(sender, args) {
    if (event.keyCode == 13) {
        event.keyCode=9;
    }
}

Is there a way to set the keyCode and switch the event from pressing Enter to pressing Tab?

Thanks
Shinu
Top achievements
Rank 2
 answered on 25 Aug 2010
2 answers
144 views
I would like to be able to use Hierarchy mode to create several subgrids, which I have working fine.  I need, however, to enable multi-row editing on the rows in the bottom level grids. 

The problem I'm seeing is there appears to be no way to get just the items in the bottom selected grid.  I have tried waling the DetailTable.s, and those are empty, even though I have multiple rows.  I've tried the following code, and it doesn't work.  MasterTableView.Items contains my 6 top-level items.  the FirstDetailTables(0) has a count of 0 even though there is one item in it, and the second also has a count of 0 and has several items.  I have 3 total levels in my heirarchy.

foreach (GridItem item in RadGrid1.MasterTableView.DetailTables[0].DetailTables[0].Items)
{
    item.Edit = true;
}
RadGrid1.MasterTableView.DetailTables[0].DetailTables[0].Rebind();

Any help here?

Some additional information:

I have tried using RadGrd1.HierarchyItems and checking if there are no children and if true, enabling edit but that gives... weird results.

Also, I am using a CommandItemTemplate in my final GridTableView with an "Edit" button, which sends the command EditMode to the grids ItemCommand event handler, and that's where I call the above code.

I have also enabled AllowMultiRowEdit on the grid, and i'm not using Ajax if that matters.
Princy
Top achievements
Rank 2
 answered on 25 Aug 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?