Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
365 views
I have a RadMultiPage dropped in on a SharePoint 2010 webpart page. The RadMultipage is associated with a RadTabstrip and has been setup for 'load on demand' behavior as described in the demo:
http://demos.telerik.com/aspnet-ajax/tabstrip/examples/applicationscenarios/loadondemand/defaultcs.aspx

I use identical techniques and load user controls directly into each RadPageView. The problem is 3 of the user controls contain a RadGrid and when the tab item is clicked and the page view is loaded, I get the error as shown in the image linked below.

It fails in not only IE 10 but in IE 9, FF and Chrome too. Although the errors are not the same for FF and Chrome.

Other things to note:

A regular asp ScriptManager is used from the default master page in SP 2010.
Controls are ajaxified using a RadAjaxManager.
The RadAjaxManager, a RadFormDecorator and a RadSkinManager are added to the page programmatically.
A RadStyleSheet manager has been added to the page declaratively (for now).
All the web.config sections have been checked for correctness to support the RadAjaxManager and RadStyleSheetManager from Telerik documentation and prior posts on Telerik forums.

Please shed some light on how to fix this issue.

Thanks.

 
Kalina
Telerik team
 answered on 31 Jan 2013
1 answer
71 views
Hi,

When testing the ASP.NET AJAX component, I ran into a serieus issue. When using the component and testing it on a local machine, everything works great, but when testing it on a Windows 2008 IIS7 machine, the "resonse.redirect" methode no longer works.
After a long search, I found out that the problem starts from the moment you apply the function "Convert to Telerik website" and de dll files are attached to the solution and de "web.config" file is modified. Even when you don't use any of the Telerik functions, the function no longer works.

After a long search I stumbled upon some information telling people that a bug in Windows 2008 disables the function when Ajax is used. This bug is almost 4 years old and I can't seem to find any bug fix for win 2008.

I've tried almost any recommended workaround, without any luck.

Things I've tried:
- Replaced the "response.redirect" methode by  "RadAjaxManager1.Redirect" and  "RadAjaxPanel1.Redirect", without any luck.
- Added "<add name="ScriptModule" preCondition="integratedMode" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>" to the web.config, no luck.
- Added "ValidateRequest="false"" and "enableEventValidation="false" to the page directives, without any improvement.

It's really frustrating to see that this 4 year old issue isn't solved by Microsoft yet.

Does anyone have the same experience on Windows 2008? Does anyone have a solid fix for this problem?

Thanx for any feedback...

John
Antonio Stoilkov
Telerik team
 answered on 31 Jan 2013
1 answer
107 views

I've got the following grid with grouping setup. I'd like it so that they can't remove the category group but can add and remove the other 3 .

Is that possible?   thanks



<telerik:RadGrid ID="RadGrid1"  runat="server" PageSize="50"
    AllowSorting="True" AllowMultiRowSelection="True" AllowPaging="false" ShowGroupPanel="True" OnPageIndexChanged="RadGrid1_OnPageIndexChanged"
    AutoGenerateColumns="False" GridLines="none" OnNeedDataSource="RadGrid1_OnNeedDataSource">
    <PagerStyle Mode="NextPrevNumericAndAdvanced"></PagerStyle>
    <MasterTableView Width="100%" >
        <GroupByExpressions >
             
            <telerik:GridGroupByExpression >
            <SelectFields>
                <telerik:GridGroupByField FieldAlias="Category" FieldName="Category"  />                  
            </SelectFields>
                <GroupByFields>
                    <telerik:GridGroupByField FieldName="Category"  SortOrder="Ascending"    />
                </GroupByFields>
            </telerik:GridGroupByExpression>
        </GroupByExpressions>
        <Columns>
            <telerik:GridBoundColumn SortExpression="PatientName" HeaderText="PatientName" HeaderButtonType="TextButton" DataField="PatientName"  Groupable="false"  />
            <telerik:GridBoundColumn SortExpression="Category" HeaderText="Category" HeaderButtonType="TextButton"  DataField="Category"  />
            <telerik:GridBoundColumn SortExpression="LastTaskTime"  HeaderText="LastTaskTime" HeaderButtonType="TextButton" DataField="LastTaskTime"  />
            <telerik:GridBoundColumn SortExpression="CaseStatus" HeaderText="CaseStatus" HeaderButtonType="TextButton" DataField="CaseStatus" />
        </Columns>
    </MasterTableView>
    <ClientSettings ReorderColumnsOnClient="True" AllowDragToGroup="True" AllowColumnsReorder="True" >
        <Selecting AllowRowSelect="True" ></Selecting>
        <Resizing AllowRowResize="True" AllowColumnResize="True" EnableRealTimeResize="True"
            ResizeGridOnColumnResize="False"></Resizing>
    </ClientSettings>
    <GroupingSettings ShowUnGroupButton="false">
     
    </GroupingSettings>
</telerik:RadGrid>
Radoslav
Telerik team
 answered on 31 Jan 2013
1 answer
109 views
Hello,
I am using rad grid with Hierarchical property..Can we set controls dynamically in detail tables.If its not possible how to create property grid in web application using telerik..

Shinu
Top achievements
Rank 2
 answered on 31 Jan 2013
3 answers
190 views
I cannot seem to figure out why but NavigateURL does not work on any iOS device.

I have the latest internal builds loaded.  Here is the markup:

<telerik:RadMenu ID="RadMenu1" runat="server" Width="960" EnableRoundedCorners="True" Skin="Metro"
           EnableShadows="True" ExpandAnimation-Type="OutQuad" CollapseAnimation-Type="InOutElastic" >
           <Items>
               <telerik:RadMenuItem Text="Products">
                   <Items>
                       <telerik:RadMenuItem Text="V3<span class='ss'> TM</span>" Target="_blank"
                           ImageUrl="/images/v3.png" NavigateUrl="http://<;LINK>" />
                       <telerik:RadMenuItem Text="EnVvy<span class='ss'> TM</span>"
                           ImageUrl="/images/envvy.png" NavigateUrl="http://<;LINK>" />
                    </Items>
               </telerik:RadMenuItem>
               ...
           </Items>
       </telerik:RadMenu>


Any ideas?

Thanks,

Grant
Princy
Top achievements
Rank 2
 answered on 31 Jan 2013
1 answer
182 views
I have a RadTabStrip + RadMultiPageView + RadPageView on mainpage.aspx

My RadPageView is utilizing ContentURL="somepage.aspx"


On mainpage.aspx I have a refresh imagebutton that has an onclientclick="refresh(); return false;"

inside of the
function refresh()
{
    blah;
}

I am wanting to make a call to a JS function on RadPageView somepage.aspx

How can I do this? I am not seeing any examples where you are going from the parent to the child, its all showing the child to the parent.

Thanks
Princy
Top achievements
Rank 2
 answered on 31 Jan 2013
4 answers
124 views
Hi,

I have a grid in my page. it has one inner grid. When my page loads i am binding my grid. I want to find one row which satisfies my condition and it has to be expanded in pageload only. How can we achieve this.


Please help!!!!!!

Thanks
Raju
Shinu
Top achievements
Rank 2
 answered on 31 Jan 2013
0 answers
258 views
Hi, 

i have the exception:
Invalid postback or callback argument. Event validation is enabled using <pages enableEventValidation="true"/> in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate from the server control that originally rendered them. If the data is valid and expected, use the ClientScriptManager.RegisterForEventValidation method in order to register the postback or callback data for validation.

Everything is working correctly when i don't use the event OnTabClick.
But I need it and when i try to attach a function to this event (either from the markup or the code behind) i get the exception above.
the hierarchy of the markup is as follow : 
asp:panel
  RadAjaxPanel
    RadTabStrip
RadMultiPage
 div
  table
    tr
  td
             RadAjaxPanel
               RadTabStrip
          RadMultiPage

The markup is :
<telerik:RadTabStrip runat="server" ID="TabStrip" MultiPageID="MultiPage" OnTabClick="TabStrip_TabClick"
    SelectedIndex="0" Font-Size="Smaller" Orientation="VerticalLeft">
    <Tabs>
        <telerik:RadTab Text="Note de calcul"     PageViewID="rpv_noteCalcul"    Value="noteCalcul" Selected="True" />
        <telerik:RadTab Text="Crédits" PageViewID="rpv_Credits"    Value="Credits" />
        <telerik:RadTab Text="Paiements"      PageViewID="rpv_Paiements"  Value="Paiements" />
        <telerik:RadTab Text="Distribution"   PageViewID="rpv_Distribution" Value="Distribution" />
    </Tabs>
</telerik:RadTabStrip>

when i tried to attach the event from the code behind i did :  (when i did i remove the argument OnTabClick from the markup)
protected void Page_Init(Object sender, EventArgs e)
{
    TabStrip.TabClick += new RadTabStripEventHandler(TabStrip_TabClick);
}

the function that i need to call:
protected void TabStrip_TabClick(object sender, RadTabStripEventArgs e)
{
 
}

Hope you can help me 

Thank you 

mathieu
Top achievements
Rank 1
 asked on 31 Jan 2013
1 answer
222 views
I have a radchart:
<telerik:RadChart ID="rcProposedWaiting" runat="server" Width="750px" DataGroupColumn="Name" 
AutoTextWrap="true" Skin="Hay" ChartTitle-TextBlock-Text="Projects By Department" SeriesOrientation="Horizontal" AutoLayout="true">
<Legend><Appearance GroupNameFormat="#VALUE"></Appearance></Legend>
<PlotArea><XAxis DataLabelsColumn="Department"></XAxis></PlotArea>
</telerik:RadChart>

I am populating with a DataView:
public DataView GetProposedWaitingChart()
{
List<int> lst = new List<int>();
lst.Add( (int)ApprovalStatus.Proposed );
lst.Add( (int)ApprovalStatus.WaitingforApproval );

string listStatus =  Util.CompressList( lst, "," );

List<ITProject> projects = _dal.GetProjectByApprovalSatus( listStatus );

DataTable dt = new DataTable();
dt.Columns.Add( "Name" );
dt.Columns.Add( "Department" );
DataColumn dc = new DataColumn( "Value", Type.GetType( "System.Int32" ) );
dt.Columns.Add( dc );

var groupedStatus = from f in projects
group f by new {
f.Department,
f.ApprovalStatus
} into myGroup
orderby myGroup.Key.ApprovalStatus, myGroup.Key.Department
select new { myGroup.Key.Department, myGroup.Key.ApprovalStatus, Count = myGroup.Count() };

foreach (var obj in groupedStatus) {
string department = obj.Department;
string status = obj.ApprovalStatus;
int count = obj.Count;
dt.Rows.Add( status, department, count );
}

DataView dv = dt.DefaultView;
dv.Sort = "Name, Department";

return dv;
}
----------------------------------------------------------------------
I have verified that my datatable looks correct after the foreach loop...
? dt.Rows[0].ItemArray
{object[3]}
    [0]: "Proposed"
    [1]: "IT"
    [2]: 2
? dt.Rows[1].ItemArray
{object[3]}
    [0]: "Waiting for Approval"
    [1]: "Advisory Services"
    [2]: 1
----------------------------------------------------------------------
 but I am getting the attached output (projbad.jpg)... 


---------------------------------------------------------------------------------
If I just add dummy rows to my datatable rather than the database data, it works just fine (projgood.jpg)

dt.Rows.Add( "Proposed", "IT", 4 );
dt.Rows.Add( "Waiting", "FA", 4 );
dt.Rows.Add( "Proposed", "TA", 1 );
dt.Rows.Add( "Proposed", "FA", 2 );
dt.Rows.Add( "Waiting", "IT", 3 );
dt.Rows.Add( "Waiting", "TA", 2 );

DataView dv = dt.DefaultView;
dv.Sort = "Name, Department";
---------------------------------------------------------------------------------


Any ideas?  Thanks
kim
Top achievements
Rank 1
 answered on 30 Jan 2013
1 answer
45 views
Hi Telerik folks,

How to select an item from RadTreeList (nested treelist) based on the search term entered in the separate html text box. Also need to scroll and show selected item.

Thanks in Advance
Baskar
baskar
Top achievements
Rank 1
 answered on 30 Jan 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?