Telerik Forums
UI for ASP.NET AJAX Forum
7 answers
241 views
We're using a RadComboBox within a RadGrid with an ExternalCallBackPage.  Everything was working fine until I implemented the following line in the Web.config:

<sessionState mode="InProc" cookieless="true" timeout="60"></sessionState>

This caused the URL to look like:

http://WebServer/OurApplicationName/(S(kvral4fk0tipgb55bv05sn55))/Default.aspx

This part is new:
(S(kvral4fk0tipgb55bv05sn55))/


The error is "RadComboBox:  load on demand callback error", then:

If RadComboBox is not initially visible on your ASPX page, you may need to use streamers (the ExternallCallBackPage property)
Please, read our online documentation on this problem for details
http://www.telerik.com/help/radcombobox/v2%5FNET2/combo_externalcallbackpage.html


Eliza Sahoo
Top achievements
Rank 1
 answered on 18 Mar 2010
2 answers
81 views
Hi,
   This post is related to the HeaderContextMenu online demo at http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/headercontextmenu/defaultcs.aspx . The Grid Column looks odd (row lines are missing) after performing the following steps.
     
      a) Goto http://demos.telerik.com/aspnet-ajax/grid/examples/generalfeatures/headercontextmenu/defaultcs.aspx
      b) Right click on the header of the table containing the Discount Column
      c) Using the Columns Chooser uncheck the Discount column
      d) Now expand the table with Orderid 10692
      e) Now using the Header Context menu column Chooser check the Discount column

RESULT:
     The Discount Column Looks odd without row lines as shown in the attached screenshot.

I would like to know how to make the Discount Column look similar to other columns without performing further steps.

Thanks
Satyaprakash J





Veli
Telerik team
 answered on 18 Mar 2010
2 answers
183 views
Are there any examples of using a LINQ data source (or Linq2SQL in code) to create a hierarchy in a RadGrid?  All the examples I have found use DataSets.

I have, for example, a User object that has Roles that are loaded with the Object.    User.Roles returns a IEnumerable list of roles that that user belongs to.

Table Structure
User <- User Roles -> Roles

Thanks,
Brian
Princy
Top achievements
Rank 2
 answered on 18 Mar 2010
1 answer
108 views
Hi all,

Now I have 2 links on home page. If I select different link, it will post an id to the target page and it will base on the passing-in id to query my database. Is this possible to do this? May be using usercontrol sth. Thank you!
Georgi Tunev
Telerik team
 answered on 18 Mar 2010
1 answer
92 views
Hello,

I have a radprogress area control with a cancel button plugged into the aspx page ..
The upload cancelling functionality works well with Firefox and IE ......However 
the cancel button/cancel functionality does not works at all in Chrome, Opera and Safari ..

I am using Telerik.Web.UI version 2009.3.1103.20 ...

Is there a fix for this ? I would appreciate your quick help in this matter.

Thanks,
Harshal
Genady Sergeev
Telerik team
 answered on 18 Mar 2010
1 answer
112 views
Hi All,

How can i format the chart the y-axis break point values to show like "$3000,000" instead of showing "30000".

Please help me regarding this.
PM
Top achievements
Rank 1
 answered on 18 Mar 2010
1 answer
193 views
I'm looking for an easy way to loop thru and address all texts in a grid to create multiple language support by fetching texts in users language from DB:
- AddNewRecordText in CommandItemSettings
- CancelText, UpdateText and InsertText in EditColumn
- EditText in GridEditCommandColumn
and HeaderText in all columns.

For all other controls on the page, I loop thru the controls like this: 
    protected void Page_PreRender(object sender, EventArgs e)
    {
        foreach (Control ctrl in Page.Controls)
        {
            findCtrl(ctrl);
        }
    }

    protected void FormView_DataBound(object sender, EventArgs e)
    {
        foreach (Control ctrl in FormView.Controls)
        {
            findCtrl(ctrl);
        }
    }

    public void findCtrl(Control ctrlTry)
    {
        if (ctrlTry.HasControls()) // if the control contrains other controls
        {
            if (ctrlTry.ID != null && ctrlTry.ID != "") // control has a ID-name
            {
                Response.Write(ctrlTry.ID + "<BR>");
            }

            foreach (Control lastCtrl in ctrlTry.Controls)
            {
                findCtrl(lastCtrl);
            }
        }
        else
        {
            if (ctrlTry.ID != null && ctrlTry.ID != "")
            {
                Response.Write(ctrlTry.ID + "<BR>");

            }
        }
    }
and use the controls ID to fetch the text from the DB.
But this approach doesn't work on texts in a grid.

Any ideas for multiple language support in grids using lookup i DB?

Yavor
Telerik team
 answered on 18 Mar 2010
1 answer
341 views
Hi,

I am trying to expand all the hierarchy items in the grid from the server side. I was able to expand the mastertableview rows to display the detail table. Each row in the detail table can expand to display the nested view. I am not able to get these rows expanded. Below is my aspx code for the grid

<telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="false" Width="700px"  
            AllowMultiRowSelection="true"
            <MasterTableView HierarchyLoadMode="ServerBind" GroupLoadMode="Server" Width="700px"  
                DataKeyNames="ActionId" TableLayout="Fixed" Name="Actions" CommandItemDisplay="Top"
                <CommandItemTemplate> 
                    <asp:Button ID="btnExpandOrCollapse" runat="Server" Text="Expand or Collapse" CommandName="expandallcollapseall" /> 
                </CommandItemTemplate>                 
                <Columns> 
                    <telerik:GridBoundColumn DataField="ActionName" HeaderText="Action"></telerik:GridBoundColumn> 
                    <telerik:GridTemplateColumn> 
                        <ItemTemplate> 
                            <telerik:RadRating ID="RadRating1" runat="server" Value="3" ReadOnly="true" Precision="Exact" /> 
                        </ItemTemplate> 
                    </telerik:GridTemplateColumn> 
                </Columns> 
                <DetailTables>                     
                    <telerik:GridTableView DataKeyNames="StepId" Name="Steps" Width="100%"
                        <ParentTableRelation> 
                            <telerik:GridRelationFields DetailKeyField="ActionId" MasterKeyField="ActionId" /> 
                        </ParentTableRelation> 
                        <Columns> 
                            <telerik:GridBoundColumn DataField="StepName" HeaderText="Step" DefaultInsertValue="" UniqueName="StepName"></telerik:GridBoundColumn> 
                            <telerik:GridBoundColumn DataField="StartDate" HeaderText="Start date" DefaultInsertValue="" UniqueName="StartDate"></telerik:GridBoundColumn> 
                            <telerik:GridBoundColumn DataField="StartedBy" HeaderText="Completed by" DefaultInsertValue="" UniqueName="StartedBy"></telerik:GridBoundColumn> 
                            <telerik:GridBoundColumn DataField="HRApproval" HeaderText="HR Approval" DefaultInsertValue="" UniqueName="HRApproval"></telerik:GridBoundColumn> 
                            <telerik:GridBoundColumn DataField="CommunicatedToEE" HeaderText="Communicated to employee" DefaultInsertValue="" UniqueName="Communicatedtoee"></telerik:GridBoundColumn> 
                        </Columns>           
                        <NestedViewTemplate> 
                        <asp:Panel ID="pnlTesting" runat="server"
                            <div style="width:25px;float:left"></div> 
                            <div style="float:left;"
                                <asp:HiddenField ID="hStepId" runat="Server" Value='<%# DataBinder.Eval(Container.DataItem, "StepId") %>' /> 
                                <uc1:QuestionAndAnswerV1 ID="qa" runat="server" Skin="QAList" EnableEmbeddedSkins="false" /> 
                            </div>                         
                        </asp:Panel>                                                                   
                        </NestedViewTemplate>                         
                    </telerik:GridTableView>                     
                </DetailTables>                                 
                <ExpandCollapseColumn Visible="True"
                </ExpandCollapseColumn> 
            </MasterTableView> 
            <ClientSettings> 
                <Scrolling SaveScrollPosition="true" /> 
            </ClientSettings> 
        </telerik:RadGrid> 

Princy
Top achievements
Rank 2
 answered on 18 Mar 2010
1 answer
133 views
Hi,

I have a really small-sized chart (line graph) and I set the font size for the axis item label to 6.(Times New Roman).
However, it seems that it becomes too blur(because radchart is an image).
Rotating the labels did not help either.

My solution is to skip alternate axis item labels but this did not really work out as each axis item label cannot use the space left behind by an adjacent axis item label. A font-size 8 label will still wrap to the next line(which is not what i want) instead of "overflowing".

Does anybody has any idea on how to solve this?
Thanks a lot!!!

Wayne
Ves
Telerik team
 answered on 18 Mar 2010
1 answer
149 views
Hello, I would like the Panel Bar to be auto-collapsed, so it does not display sub pages and I can't determine how to do this. Can you please help me?

For example, the panel bar on the home page of the following site I'm building shows the sub and sub-sub navigation. I only want it to show the home page and the top level navigtion which shows in the main navigation atop the site.  


Thank you,

-Greg
Yana
Telerik team
 answered on 18 Mar 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?