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

I have a grid with columns set as ItemTemplate

How is it possible to have Grid Footers displaying sum of values of corresponding columns?

Thank you

Regards
Raj
Shinu
Top achievements
Rank 2
 answered on 20 Oct 2010
1 answer
159 views
Hi,

I am uploading a DLL file that contains 1 class file FileName.vb  and 2 Embeded resource files Filename.Aspx,Filename.Aspx.vb and Filename.JPG
this DLL is of file size around 150kb.

there is a database update,insert query's in one of the function of file Filename.Aspx.vb
if i remove these lines then the file uploads sucessfully.
(i am not sure exactly that the problem is with these database updated statements, cuz it fails some times even after removing that lines)

i think this problem is not related to file size and i saw the disscusstion in forums..

We are using OS (windows server 2008 ) and IIS7

i have configurated the webconfig setting
<security>
   <requestFiltering>
    <requestLimits maxAllowedContentLength="1048576000" />
   </requestFiltering>
  </security>


plzzz help.

Thanks











Genady Sergeev
Telerik team
 answered on 20 Oct 2010
1 answer
181 views

Hello,

Observe the code snippet below:

public
class MyItem

 

{

    public int value1 { get; set; }

    public int value2 { get; set; }
    public int?[] dateids {get;set;}

    public MyItem()
    {
        dateids=new int?[4];
    }

}

public class MyItems : CollectionBase

 

{

    public int Add(MyItem item)

    {

        return List.Add(item);

    }

    public void Remove(MyItem item)

    {

        List.Remove(item);

    }

    public int IndexOf(MyItem item)

    {

        return List.IndexOf(item);

    }

    public MyItem this[int index]

    {

        get { return (MyItem)List[index]; }

        set { List[index] = value; }

    }

}

I set instance of MyItems to DataSource property of grid.
How do I assign dateids to grid's DataField?

Any workaround would be much appreciated

Thank you

Regards
Raj

Radoslav
Telerik team
 answered on 20 Oct 2010
1 answer
74 views
Hi,

We are facing implementing the RadAjaxManager and RadAjaxProxy in the below mentioned Scenario.
We implemented the below mentioned steps for our application template.
Step1 : Our application Master Page contains the RadAjaxManager in the Master Page,
Step 2: Our Content Page contains a Rad Grid with the Right Click Context Menu. We included the Rad Ajax Proxy1 control in the Content Page,
Step 3: Our Edit form is implemented using the WebUserControl. We included the Rad Ajax Proxy2 in the Edit Form.
On Right Click and Click the Edit Button we need to open the Edit Form.

We are finding the page post back even if i click any view icon in the RadGrid, Not even opening the edit form.
We implemented Rad Ajax Manager in the Content Page and Rad Ajax Proxy in the Web user control but it is not as fast as you demo example when i click the cancel button it takes more time where as you demo example it takes less time. We just implemented the Ibindable interface and bind the Edit form controls. that's it.  check in the below  URL for reference.

http://test.aptisys.com/UOMSetup.aspx

but in the Telerik Optimization technique it has mentioned to Implement the Rad Ajax Manager in the Master Page, Rad Ajax Proxy in the Content Page and one More Ajax Proxy in the Edit Form.

Is there any example Telerik implemented with the Rad AjaxManager in the Master Page, Rad Ajax Proxy1 in the Content Grid page and Rad Ajax Proxy2 in the Edit Form Web User Control to implement the Rad Ajax Manager and Ajax Proxy?

Could you please send us some example for above scenario without any post back on Opening the Grid Edit Form?

Thanks 
Pavlina
Telerik team
 answered on 20 Oct 2010
7 answers
193 views
Hi, I am new to designing.My scenario is I have to show .doc files in radrotator  in thumb scrolling mode(both left and right).Actually my page is containing three containers(i.e RadPanels).I have a radtreeview on leftside to the page in left_radpanel and radrotator in Right_Bottom_Panel.
1) while page loading this treeview should bind with table column values(for example ABC,DEF,GHK......).
2) After that when I click "ABC" node it has to show the .doc files(only .doc files in that particular "ABC" folder) in radrotator.Here total page should not be submited.
3) Now when I click any one of the .doc file in that radrotator it should be shown as bigger(i.e it should be open in readable mode)  in the Right_Top_Panel. In this panel I have to facilitate ZoomBars so that client can do zoomout and zoom in actions dynamically).By default it should show first .doc file in that "ABC" folder.

So can u please tell me how to do this task.
I am using vs 2010 ultimate,Operating System(Widows server2008,windows7),C#,Telerik.Web.UI_2010_2_929_Trial
Thanks in advance.
Fiko
Telerik team
 answered on 20 Oct 2010
2 answers
298 views
Hello,

I'm trying to hide a RadTab on the server-side and show/hide it on client-side. 

I tried [TabObject].Style["display"] = "none"  on the server side but I can't reach that "display:none" attribute from anywhere in the client-side.

On the client-side, I tried [TabObj].get_element().style.display = "", [TabObj].set_visible(true), none of them worked.

Waiting for your help.

Thanks in advance.

Orhan
orhan
Top achievements
Rank 1
 answered on 20 Oct 2010
1 answer
144 views
ExporttoPDF is a great feature of Radeditor, however, I want to save the radeditor content as PDF and attach to mail from code behind, how do i be able to get stream of the pdf content?
Rumen
Telerik team
 answered on 20 Oct 2010
1 answer
140 views
I have a user control that is loaded dynamically inside an AjaxPanel which sits inside an rad slider.
The page slider of the radgrid is appearing our side the rad grid.

Also the numeric paging doesn't work properly. Numeric paging appears at the right location.
I have page count of 20. says I have 1000 rows.
After 1- 10 I have "..." When I click this, 11 shows up fine, but when I click on 12, the page returns to page 3. Page 1 through 10 works fine.

Please help.
Not sure what is the bug, if pages 1 thru 10 work, why doesn't page 12 work. Same dataset is used.

Thanks,
Sayak
Dimo
Telerik team
 answered on 20 Oct 2010
1 answer
302 views
Hi:

I have a nested table as part of a radgrid. The user is able to expand the nested table, then add, update and delete using a popup form. I am updating information for the master DB that shows in radgrid1 after each change (totals). When I close the nested table and return to displaying the main grid, the totals do not refresh (even though they are updated in the database). I have tried adding RadGrid1.MasterTableView.Rebind() to the itemupdated, itemdeleted and iteminserted commands, but it is not working for me. Would it make sense to use javascript to force a rebind on radgrid1 when the user collapses the nested table? If so, how can I call a javascript function at the time the nested grid is collapsed? I think this function would work if I can execute it at the right time:

function NestedTableCollapsing(sender, args) {
    var masterTable = $find("<%= RadGrid1.ClientID %>").get_masterTableView();
    masterTable.rebind();
}

Thanks, Dan
Martin
Telerik team
 answered on 20 Oct 2010
4 answers
76 views
Hi,

I want to change the row back color of the currently edited row.
I tried changing the editeditemstyle backcolor property. but it was applied partially. (pls refer attachment)
i want it to apply it to the whole row. Any help.

Here is my code.
<telerik:RadGrid Skin=Vista ShowGroupPanel="True" AllowFilteringByColumn="true"
    AutoGenerateColumns="false" AllowPaging="true" PageSize="20" AllowSorting="true" ID="grid1" runat="server" ClientSettings-Resizing-AllowColumnResize="true" OnDeleteCommand="RadGrid1_DeleteCommand">
    <GroupingSettings CaseSensitive="false" />
    <EditItemStyle BackColor=Green />
    <MasterTableView GroupLoadMode="Server" DataKeyNames="service_provider_id" ClientDataKeyNames="service_provider_id,sp_email_og,sp_org_name">
        <Columns>
.
.
.
.
        </Columns>
        <EditFormSettings EditFormType="WebUserControl" UserControlName="EditProfileDetail.ascx">
            <EditColumn UniqueName="EditCommandColumn1">
            </EditColumn>
        </EditFormSettings>
    </MasterTableView>
</telerik:RadGrid>
Aswin S
Top achievements
Rank 1
 answered on 20 Oct 2010
Narrow your results
Selected tags
Tags
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
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
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?