Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
72 views
In IE8 when the RadMenu renders and I have set the .rmRootGroup border to 0px and the body has no margin or padding the text of all of the root menu items except the last menu item is not visible.  However, once I hover over the last menu item all of the other root menu items appear.  This issue does not occur in IE7 or Firefox.

<html xmlns="http://www.w3.org/1999/xhtml">  
<head runat="server">  
    <title></title>  
</head> 
<body> 
    <form id="form1" runat="server">  
    <asp:ScriptManager ID="rsmMain" runat="server" /> 
    <telerik:RadMenu ID="rmScheduleMenu" runat="server" /> 
    </div> 
    </form> 
</body> 
</html> 
 

html  
{  
    margin: 0;  
    padding: 0;  
}  
 
body  
{  
    font-familyVerdana;  
    font-size11px;  
    margin: 0;  
    padding: 0;  
}  
 
.RadMenu_Default .rmRootGroup  
{  
    bordersolid 0px transparent !important;  
}  
 
Yana
Telerik team
 answered on 24 Feb 2010
1 answer
122 views
Hi,

I have tested RadCompression but have some problems with my current compression solution generating zipped code in my screen. Could you list the extensions that are included in this compression suite to exclude from my external solution (webresource.axd....) and perform some others test.

like
//Excluding AXD telerik resources 
            if (request.Path.ToLowerInvariant().EndsWith("webresource.axd")) 
            { 
                return; 
            } 

Thanks, Romi
 
Rosen
Telerik team
 answered on 24 Feb 2010
2 answers
132 views
Hello,

I am using RadDock with a button to display a RadWindow. Once the user has selected a value from the RadWindow, the RadDock needs to Re-Bound according to the ID sent from the RadWindow. All of this is working fine, but i wonder if it is possible to prevent refresh of the whole page, insted i would like the RadDock to be refreshed only (Re-Bound).

Thank you for your time.
Vasja Petkovska
Top achievements
Rank 1
 answered on 24 Feb 2010
1 answer
139 views

Hello

Please I have a GridDataItemCollection and I wanto to pass it to reportviewer ,how can i do so ?

I do the following but it give me an error in reportviewer
GridDataItemCollection g = RadGrid1.MasterTableView.Items ;

 

 

 

r.DataSource =

g;

the error is it dosent the column name of my table

Thanks in advance

Islam Abdel Aziz
Top achievements
Rank 1
 answered on 24 Feb 2010
1 answer
163 views
Hi

Don't know if I'm missing a trick here.
I am using jayrock to return data that is a list of objects serialized into a JSON string. I am am then attempting to set the datasource of a grid as follows:
<a javascript function>
function SetGrid()
{
var service = new JAYROCKService();
var ds = service.getGridData(); //ds is a valid json string
var grid = getGridTable(); //method to get grid object
var mastertable =  grid.get_masterTableView();
mastertable.set_dataSource(ds);
mastertable.dataBind();


This call and ones like it attached to a number of buttons, and they attempt to bind the grid to a number of different data sets depending on which button is pressed. 

The examples I saw were a lot more complicted than this but were also doing a lot that I didn't need. Is the above possible or am I missing a key idea for this approach?

If this is not possible is it possible to add individual rows to a grid on client  side only?

Regards
Kieran






Nikolay Rusev
Telerik team
 answered on 24 Feb 2010
12 answers
816 views
I'm having problems with the ProgressArea control working properly. I have started with the basics of adding RadUpload, RadProgressManger, and RadProgressArea to my form.

I select a couple of files and have them uploaded to a remote server so that it takes some time to actually process the upload.

The problem is, no matter how I configure the ProgressArea the Estimated time is always 0:0:0s. Additionally, the Total Uploaded starts and stays at 100% and the Uploaded Files isn't really a progress, for 2 files it immediately shows 50% and then jumps to 100% when starting the 2nd file.

    <form id="form1" runat="server"
    <asp:ScriptManager ID="ScriptManager1" runat="server"
    </asp:ScriptManager> 
    <div> 
        <telerik:RadUpload ID="RadUpload1" runat="server" TargetPhysicalFolder="z:\temp" ControlObjectsVisibility="All" /> 
        <telerik:RadProgressManager ID="RadProgressManager1" runat="server" RefreshPeriod="100" /> 
        <telerik:RadProgressArea ID="RadProgressArea1" runat="server" Skin="Vista"
        </telerik:RadProgressArea> 
    </div> 
    <asp:Button runat="server" Text="Upload" /> 
    </form> 
 

Thanks,

Mark
bharti ten
Top achievements
Rank 1
 answered on 24 Feb 2010
1 answer
296 views
 
This is my grid view code.... 
 
<columns> 
<telerik:GridBoundColumn DefaultInsertValue="" UniqueName="Code" DataField="Code" 
                                HeaderText="Code"
                            </telerik:GridBoundColumn> 
                            <telerik:GridBoundColumn DefaultInsertValue="" UniqueName="Employee" DataField="Employee" 
                                HeaderText="Employee"
                            </telerik:GridBoundColumn> 
                            <telerik:GridBoundColumn DefaultInsertValue="" UniqueName="Address" DataField="Address" 
                                HeaderText="Address"
                            </telerik:GridBoundColumn> 
                            <telerik:GridBoundColumn DefaultInsertValue="" UniqueName="Location" DataField="Location" 
                                HeaderText="Location"
</columns> 
 
 
And my checkboxlist contains following.... 
 
<asp:CheckBoxList ID="CheckBoxListThird" runat="server" RepeatColumns="5" Width="100%"
                        <asp:ListItem Enabled="False" Selected="True" Value="Code">Site ID</asp:ListItem> 
                        <asp:ListItem Selected="True">Employee</asp:ListItem> 
                        <asp:ListItem Selected="True">Address</asp:ListItem> 
                        <asp:ListItem Selected="True">Location</asp:ListItem> 
</asp:CheckBoxList> 
 
 
In my code behind i am trying something like this.... 
 
 
foreach (DataControlField col in RadGrid.Columns) 
                { 
                    if (col.HeaderText.ToUpper() == CheckBoxListFirst.Items[i].Text.ToUpper()) 
                        col.Visible = CheckBoxListFirst.Items[i].Selected; 
                } 
 
But It is giving me error.... This is just an example i have given i have in my listbox some 60 items.... 
 
so i want to come the headertext and item text of grid and checkboxlist.... My scenario fits in this way only..... 
 
Please tell me how to achevie it.... 
 
 
 
 
 
Hello,

i have a CheckBoxList Control in my page. When User selects or checks the check box i want to display only those selected Items in the grid.....

Shinu
Top achievements
Rank 2
 answered on 24 Feb 2010
1 answer
80 views
Hello-

 I am using a user control as the edit form popup for one of my grids. I was able to add an image in the header by putting that <img> into the captionformatstring, but is there any way to put an asp imagebutton in there, so i can take actions? Or any other workarounds?

Thanks
Shinu
Top achievements
Rank 2
 answered on 24 Feb 2010
1 answer
145 views
Greetings,

I have two scenario's where I am using a radgrid with a domain data source control and allowing Insert, Update and Delete.  Currently, I have an Order object that has two foreign keys, one for Company and the other for Customer.  I use two grid dropdown controls to represent the foreign keys and the display of items in the grid are fine when I edit.  The problem I am having is that when I try to update the order and review the order object the references to the foreign keys are null. 

This is a codeless implementation...please advise what I may be doing wrong.

Actual error is: The required entry 'CompanyID' was not found in the provided input. This entry is required by the key fields

<

 

telerik:RadGrid ID="RadGridOrder" runat="server" Skin="Outlook" AllowPaging="true"

 

 

DataSourceID="ddsOrder"

 

 

ValidationSettings-EnableValidation="true">

 

 

<Clientsettings allowkeyboardnavigation="true" enablepostbackonrowclick="true">

 

 

<Selecting AllowRowSelect="true" />

 

 

</Clientsettings>

 

 

<MasterTableView DataSourceID="ddsOrder"

 

 

AllowAutomaticInserts="false" AllowAutomaticDeletes="true" AllowAutomaticUpdates="true"

 

 

AutoGenerateColumns="false" DataKeyNames="OrderID" >

 

 

<Columns>

 

 

<telerik:GridEditCommandColumn ButtonType="ImageButton"> </telerik:GridEditCommandColumn>

 

 

<telerik:GridBoundColumn DataField="OrderID" HeaderText="ID" UniqueName="OrderID" SortExpression="OrderID" Visible="false" Display="true">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridDropDownColumn FooterText="Seller" UniqueName="Seller"

 

 

ListTextField="CompanyName" ListValueField="CompanyID" DataSourceID="ddsGetSellers"

 

 

HeaderText="Seller" DataField="SellerID" AllowSorting="true">

 

 

</telerik:GridDropDownColumn>

 

 

 

<telerik:GridCheckBoxColumn DataField="IsAcceptedBySeller" HeaderText="Seller Approved" UniqueName="IsAcceptedBySeller" ></telerik:GridCheckBoxColumn>

 

 

<telerik:GridDropDownColumn FooterText="Buyer" UniqueName="ddlBuyers"

 

 

ListTextField="CompanyName" ListValueField="CompanyID" DataSourceID="ddsGetBuyers"

 

 

HeaderText="Buyer" DataField="BuyerID" AllowSorting="true">

 

 

</telerik:GridDropDownColumn>

 

 

<telerik:GridCheckBoxColumn DataField="IsAcceptedByBuyer" HeaderText="Buyer Approved" UniqueName="IsAcceptedByBuyer" ></telerik:GridCheckBoxColumn>

 

 

<telerik:GridBoundColumn DataField="ShippingCity" HeaderText="Ship To City" UniqueName="ShippingCity" SortExpression="ShippingCity">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="ShippingStateProvince" HeaderText="Ship To State" UniqueName="ShippingStateProvince" SortExpression="ShippingCity">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridBoundColumn DataField="ShippingZipPostalCode" HeaderText="Ship To Zip" UniqueName="ShippingZipPostalCode" SortExpression="ShippingZipPostalCode">

 

 

</telerik:GridBoundColumn>

 

 

</Columns>

 

 

</MasterTableView>

 

 

</telerik:RadGrid>

 

 

<

 

cc1:DomainDataSource runat="server" ID="ddsOrder"

 

 

DomainServiceTypeName="G7.ePOD.PaymentSettlement.Business.OrderDomainService"

 

 

SelectMethod="GetCartOrders" EnableUpdate="true" EnableInsert="true" EnableDelete="true" >

 

</

 

cc1:DomainDataSource>

 

<

 

cc1:DomainDataSource runat="server" ID="ddsGetBuyers"

 

 

DomainServiceTypeName="G7.ePOD.PaymentSettlement.Business.OrderDomainService"

 

 

SelectMethod="GetBuyers" EnableUpdate="false" EnableInsert="false" EnableDelete="false" >

 

 

 

 

</

 

cc1:DomainDataSource>

 

<

 

cc1:DomainDataSource runat="server" ID="ddsGetSellers"

 

 

DomainServiceTypeName="G7.ePOD.PaymentSettlement.Business.OrderDomainService"

 

 

SelectMethod="GetCompanies" EnableUpdate="false" EnableInsert="false" EnableDelete="false" >

 

 

 

 

</

 

cc1:DomainDataSource>

 

Yavor
Telerik team
 answered on 24 Feb 2010
6 answers
290 views

Hi,

I m using radscheduler in my application. I m having the start time as '23:30:00' and end time as '00:30:00' in my tables.

And it showing error as 'StartTime must be before the endtime' when radscheduler loading.

I need to plot the appointment as mentioned timing in radscheduler.

Please give any suggestions to solve it.

thanks in advance.

 

Regards,

Maha

utchi
Top achievements
Rank 1
 answered on 24 Feb 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?