Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
84 views
Hey guys
well, topic says all i want to know: How can i set a Column to Invisible when my GridView is bounded to a DataTable.
i thought its maybe possible with a ColumnCreated event, but i didnt get it runnning..

Or if i could change the text in the secound coloumn for every row would also be ok

thanks
Princy
Top achievements
Rank 2
 answered on 01 Sep 2008
1 answer
83 views
How do I programatically add an .acsx file as a template as a DetailView? Thanks
Vlad
Telerik team
 answered on 01 Sep 2008
0 answers
58 views
Hi,

I want to create an custom control with two rad editors and a splitter in the middle. Is it possible to resize the control as i am building this as an web custom control.

Thanks
Ragu 
Ragupathi
Top achievements
Rank 1
 asked on 01 Sep 2008
2 answers
126 views
Hi,
I need to hide a GridItem and made this test.
But it's not working, why?
All GridItems is still visible!
protected void RadGrid1_ItemCreated(object sender, GridItemEventArgs e) 
        { 
            if (e.Item is GridDataItem) 
                e.Item.Visible = false; //(e.Item as GridDataItem).Visible = false;
        } 

Mattias
Top achievements
Rank 1
 answered on 01 Sep 2008
2 answers
76 views
Hi all,

I have a grid with a drop down column and i can group the grid by the columns. So my problem is that when i want to group it by the combocolumn i can not get the header's name of the grouping like

myGroupColumn:Value and in the column value get the correct info....

i hope you undestand my doubt and can help me with this.

regards,

Daniel Peralta
Vlad
Telerik team
 answered on 01 Sep 2008
1 answer
122 views

Hi,

I populate my grid data with the given client ID, as follows:

private void LoadCharges()
{
   int _ClientId = 0;
   List<ClientCharges> clientCharges = ClientChargesManager.QueryClientChargesByClientId(_ClientId);
   
   rgCharges.DataSource = clientCharges;
   rgCharges.DataBind();
}


I am looking for a blank grid that says something like "No charges found", so I tried sending it a client ID of 0 (this client ID does not exist), but then the grid is not even populated.  It doesn't even appear.

Here is my grid:

<radG:RadGrid
   ID="rgCharges"
   AutoGenerateColumns="false"
   GridLines="None"
   runat="server">
   <MasterTableView NoMasterRecordsText="Nothing.." NoDetailRecordsText="None" DataKeyNames="ClientChargeID">
   <Columns>
      <radG:GridBoundColumn DataField="ChargeAmount" HeaderText="Charge Amount" HeaderStyle-HorizontalAlign="Right" ItemStyle-HorizontalAlign="right" UniqueName="ChargeAmount" DataFormatString="{0:###,###.00}">
      </radG:GridBoundColumn>
   </Columns>
   </MasterTableView>
</radG:RadGrid>


Please help.

Thanks
Brendan

Shinu
Top achievements
Rank 2
 answered on 01 Sep 2008
1 answer
64 views
Hi -- I'm new to the RadControls, and really enjoying them.  However, I have a vexing problem that I can't seem to get my head around.

What I've got is a page with two RadGrid controls, RadGrid1 and RadGrid2.  Technically, they could be displayed as a hierarchy, since RadGrid1 is a "categories" table and RadGrid2 is an "items" table where each item has a category.  However, for UI reasons, that's not what I want to do.

I'm using RadAjaxManager, and everything is working great in both grids... except edits in RadGrid1 are not reflected in RadGrid2.  I have RadGrid1 set to update both grids in RadAjaxManager.

What I'm thinking is that I need some way to tell RadGrid1 that in the event of a successful insert/update/delete it should do a postback.  Or maybe there's some client piece that can tell RadGrid2 to reload upon changes to RadGrid1.  I've tried every permutation of the RadGrid1_ItemUpdated event, RadGrid2.Rebind, and so on, but I think I'm just not understanding what's going on well enough to do the righ thing.

Please advise!
-Brooks
Shinu
Top achievements
Rank 2
 answered on 01 Sep 2008
1 answer
146 views

Hi

We have been using Telerik controls since years , but ever since we installed your latest

RadControls for ASP.NET AJAX , I am really fighting to have our custom skins within our apps.

 

I have followed your tutorial Tutorial: Creating A Custom Skin

But have not able to get it to work.

 

Please tell me where I am going wrong?

 

I have the following in my page:

 

<link href="FHFBNAV/PanelBar.FHFBNAV.css" rel="stylesheet" type="text/css" />

 

<div id="navigation">

            <telerik:RadPanelBar

                id="radNavigation"

                Width="210px"

                Runat="server"                                               

                ExpandMode="SingleExpandedItem"

                Skin="FHFBNAV"

                Font-Names="Verdana"

                OnClientItemClicking="collapseRoots" AllowCollapseAllItems="True"

                EnableEmbeddedSkins="false">

                <CollapseAnimation Type="Linear" Duration="100"></CollapseAnimation>

                <ExpandAnimation Type="Linear" Duration="100"></ExpandAnimation>

          </telerik:RadPanelBar>

 

I have this directory structure for the css file:

FHFBNAV

                PanelBar

                                PanelBar. FHFBNAV.css

 

My css file looks like this :

 

.RadPanelbar_FHFBNAV

{

      /*background: white;*/

      background: url(PanelBar/itemsBg.gif) repeat-y;

      white-space: nowrap;

      border: solid 1px #608058;

      border-top: 0px;

      text-align:left;

}

 

.RadPanelbar_FHFBNAV .rpText

{

      padding: 0px 20px; /* vertical - horizontal */

      font: bold 11px Verdana, Arial, Sans-serif;

      line-height: 31px;

}

 

.RadPanelbar_FHFBNAV .rpImage

{

      margin: 4px 0px; /* vertical - horizontal */

}

 

 

.RadPanelbar_FHFBNAV .rpRootGroup .rpLink

{

      border-top: solid 1px #608058;

      background: url('PanelBar/RootItemBkg.gif') repeat-x;

      color: #10110f;

}

 

/* span class="text" */

.RadPanelbar_FHFBNAV .rpRootGroup .rpText

{

      font-weight: bold;

}

 

.RadPanelbar_FHFBNAV .rpRootGroup .rpLink:hover

{

      background: url('PanelBar/RootItemFocusedBkg.gif') repeat-x;

}

 

 

.RadPanelbar_FHFBNAV .rpRootGroup .rpDisabled:hover

{

      border-top: solid 1px #608058;

      background: url('PanelBar/RootItemBkg.gif') repeat-x;

      color: #10110f;

}

 

.RadPanelbar_FHFBNAV .rpGroup .rpText

{

      background: transparent;

      font-weight: normal;

      padding: 0px 20px; /* vertical-horizontal */

      border: 0px;

      line-height: 25px;

}

 

.RadPanelbar_FHFBNAV .rpLevel2 .rpText

{

      padding-left: 43px;

      line-height: 23px;

}

 

.RadPanelbar_FHFBNAV .rpRootGroup .rpExpanded .rpText

{

      background: url('PanelBar/RootItemBkgActive.gif') repeat-x;

}

 

/* child item link */

.RadPanelbar_FHFBNAV .rpGroup .rpLink

{

      background: url(PanelBar/itemsBg.gif) repeat-y;

      border: 0px;

}

 

/* child item link:hover */

.RadPanelbar_FHFBNAV .rpGroup .rpLink:hover,

.RadPanelbar_FHFBNAV .rpGroup .rpSelected .rpText

{

      background: url(PanelBar/itemSelected.gif) repeat-y;

      text-decoration: underline;

}

 

.RadPanelbar_FHFBNAV .rpRootGroup .rpDisabled:hover,

.RadPanelbar_FHFBNAV .rpRootGroup .rpDisabled .rpText

{

      background: url('PanelBar/RootItemBkg.gif') repeat-x;

      color: #ccc;

      cursor: default;

}

 

.RadPanelbar_FHFBNAV .rpRootGroup .rpGroup .rpDisabled:hover,

.RadPanelbar_FHFBNAV .rpRootGroup .rpGroup .rpDisabled .rpText

{

      text-decoration: none;

      background: url(PanelBar/itemsBg.gif) repeat-y;

      border-top: none;

      color: #ccc;

      cursor: default;

}

 

Please help I am in the middle of a release..

 

Thanks

Farhad Billimoria

 

Farhad Billimoria
Top achievements
Rank 1
 answered on 31 Aug 2008
2 answers
339 views
We have the following structure

Splitter
    Pane
        Splitter
            Pane
                SlidingZone
                    SlidingPane
                        Button initiating
                    SlidingPane
                    SlidingPane
            Spiltbar
            Pane
                Panel Updating
            Splitbar
            Pane
    Splitbar
    Pane
        SlidingZone
            SlidingPane
            Sliding Pane

When we click the button it performs the ajax request and completes correctly but then a JavaScript error occurs:

Sys.ScriptLoadFailedException. The script  ScriptResource.axd?{BLAH} contains multiple calls to Sys.Application.notifyScriptLoaded(). Only one is allowed.

As such no more JavaScript executes.

This is an asp:content control with the asp:ScriptManagerProxy and telerik:RadAjaxManagerProxy in the same control.

Why is this error occuring? What can we do to sort it out?

David
Top achievements
Rank 1
 answered on 29 Aug 2008
2 answers
93 views
I have a RadGrid with Filter on a web content page. I can sort or navigate page to page w/o any problem. When I use filter, I get this error 'Unable to cast object of type 'ASP.folder_master' to type 'Telerik.Web.UI.GridTableView'. It gives the same error when I try the Grouping function. Please help. Thanks.

Project: VS 2008 runs as Web Site on IIS 7 - .NET 3.5

<telerik:RadGrid ID="radgridUsers" runat="server" AutoGenerateColumns="False" Width=100% Skin="WebBlue" GridLines="None" ShowStatusBar=true ShowFooter=true OnSortCommand="radgridUsers_SortCommand" OnPageIndexChanged="radgridUsers_PageIndexChanged" OnItemCreated="radgridUsers_ItemCreated" OnItemDataBound="radgridUsers_ItemDataBound" AllowPaging="True" AllowSorting="True" AllowFilteringByColumn="True" >
<PagerStyle Mode="NextPrevAndNumeric" />
<MasterTableView AutoGenerateColumns="false" EditMode="InPlace" AllowFilteringByColumn="True" ShowFooter="True" TableLayout="Auto">
<Columns>
<telerik:GridBoundColumn DataField="UserId" UniqueName="columnPersonId" Visible="False" />
<telerik:GridBoundColumn DataField="UserName" HeaderText="Name" UniqueName="columnUserName" SortExpression="UserName" />
</Columns>
<
/MasterTableView>
<ClientSettings>
<Scrolling AllowScroll="false" />
</ClientSettings>
</telerik:RadGrid>

d-cpt
Top achievements
Rank 2
 answered on 29 Aug 2008
Narrow your results
Selected tags
Tags
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?