Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
100 views
Good Morning,

I am trying to deploy my VS2010 solution to our internal dev web server (.net 4.0)
so our management team can see the demo i made.

I have included references to
Telerik.Web.Design.dll
Telerik.Web.UI.Skins.dll
TelerikCode.dll

I copy the code out to the dev webserver
Create the IIS directory
Set up the app pool. ect.

The grid shows up with my data in it.
Then i click on the column to sort and the radgrid disappears
This does not happen locally.

What am i missing on my server to make this work?

Thanks, Jon
Tsvetina
Telerik team
 answered on 06 Feb 2012
5 answers
143 views
Hi all,
I am new one for telerik controlls, my scenario is following
i have one mater grid and its detail grid and both gird have EditFormTemplete it means i want to add, update both master and details tablse through editform templete fields, and i have bound master and details gird with entityDataSource object control so i want to insert through EntityDataSource Object onInsert Event . i wrote insert event of entity data source like this and it works fine

protected void OnAllMembersInserting(object sender, EntityDataSourceChangingEventArgs e)
        {
            try
            {
                GridEditFormItem editedItem = (GridEditFormItem)(rg_AllMembers.MasterTableView.GetItems(GridItemType.EditFormItem)[0]);
                if (editedItem != null)
                {
                    DAL.UserProfile uP = (DAL.UserProfile)e.Entity;
                    uP.RoleName = (editedItem.FindControl("rdbtnRegisterAs") as RadioButtonList).SelectedIndex.Equals(0) ? HunchClub.Common.Constants.RoleNames.Bidders : HunchClub.Common.Constants.RoleNames.Sellers;
                    uP.RegisteredDate = DateTime.UtcNow;
                    uP.RegisteredIPAddress = Common.Utility.Operations.GetUserIPAddress();
                    uP.islock = (editedItem.FindControl("chkIsLock") as CheckBox).Checked;

                    BLL.BO.Profile.Members m = new BLL.BO.Profile.Members();
                    string[] outMessage = new string[] { };
                    string UserID = HunchClub.BLL.BO.Profile.aspMembership.CreateNewUser(uP.PrimaryEmailAddress, (editedItem.FindControl("txtPassword") as RadTextBox).Text, uP.PrimaryEmailAddress, true, out outMessage);//isApprove is false until user verify email address
                    if (!string.IsNullOrEmpty(UserID))
                    {
                        HunchClub.BLL.BO.Profile.aspMembership.AddUserToRole(uP.PrimaryEmailAddress, uP.RoleName);
                        uP.ID = Guid.Parse(UserID);
                    }
                }
            }

so how can i find such fields on update when i write this line for finding controls
GridEditFormItem editedItem = (GridEditFormItem)(rg_AllMembers.MasterTableView.GetItems(GridItemType.EditFormItem)[0]);
it gives all null controls

is there any one can help me how can i find master and details editforms fiedls with sample code
Tsvetina
Telerik team
 answered on 06 Feb 2012
3 answers
110 views
Hi there,

I have 2 RadDatePicker controls on a page.  When a user picks a date from the first one, I want the second one to show a date that's one month later than the first one.

I am not having much success doing this.  Could you guys throw together a quick example that illustrates this?

thanks!
Antonio Stoilkov
Telerik team
 answered on 06 Feb 2012
1 answer
127 views

Hi,

I have a radsplitter control and RadPane control is inside it.

I have set contenturl property of the Radpane control and call another   aspx web page.

In this aspx page there is a radtabstrip control and 5 tabs inside it .

How can I access this tabs using Javascript or Jquery ?
I have open an another window using window.open method.

My aim is to findout selected tabs on the button click event.

Please help me ..

Thanks,

Sindu

Princy
Top achievements
Rank 2
 answered on 06 Feb 2012
2 answers
211 views
Hello -

I have a RadGrid with a Master/Detail relationship.  For some detail table views, I would like to dynamically show or hide the "Add New Record' button *only* for that detail table view.  I'm not sure how to correctly do this, as every way I try seems to modify the CommandItemSettings for *every* detail table view (it will hide/remove the button for all detail tables).  I would like to be able to expand multiple items, where some detail table views show the "Add New Record" button, and some don't, depending on custom logic. 

I really hope this is possible!  

Thanks very much.
Abhishek
Top achievements
Rank 2
 answered on 06 Feb 2012
1 answer
121 views
hi

I have a tabel with RoomID, RoomNo and RoomDescription Field.

When i use Resource Type in the property of the RadScheduler, i can only choose one.
 
I would like to show RoomNo and RoomDescription concatenated in the resource grouping when display, whether it is horizntally or vertically.

My Insert, update parameter for the scheduler is RoomID.

How should i go about it? Thanks a lot.
Shinu
Top achievements
Rank 2
 answered on 06 Feb 2012
3 answers
107 views
We would like to know if it is possible to decrease the linecontaining the filter housings in RadGrid, if so how? Help 
Shinu
Top achievements
Rank 2
 answered on 06 Feb 2012
1 answer
202 views
Hi.

I have a masterpage where I don't want a content page to scroll. It has the following style:
html, body, form 
{
    height:100%;
    margin:0;
    padding:0;
    overflow: auto
    overflow-x: hidden
    overflow-y: hidden
    font: normal 12px/1.5em "Segoe UI", Arial, sans-serif;
}

My content page then has a radwindow manager within it which opens a popup.   The problem is I need the popup to be able to scroll verically, but because my masterpage has scrolling hidden it doesn't show.  I have tried changing the style in the content page but scrolling does not appear? Any help would be appreciated.
Princy
Top achievements
Rank 2
 answered on 06 Feb 2012
2 answers
263 views
Hi,

I am binding data to RadGrid. While debugging I can see data available in datatable I am binding it to. I can see the corrent no. of rows displayed but all text is missing. pls help me..

Here is my grid design...

<telerik:RadGrid ID="grdShipments" Skin="Office2007" runat="server" GridLines="None"

AllowPaging="True" PageSize="10" AllowSorting="True" AutoGenerateColumns="False"

ShowStatusBar="true" AllowFilteringByColumn="true">

<MasterTableView CommandItemDisplay="Top" DataKeyNames="LoadID" EnableNoRecordsTemplate="true" ShowHeader="true" ShowHeadersWhenNoRecords="true" >

 

 

<Columns>

<telerik:GridTemplateColumn UniqueName="ShipDate" HeaderText="Ship Date" Visible="true">

<ItemTemplate>

<asp:Label ID="lblShipperCode" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "Ship Date")%>'></asp:Label>

</ItemTemplate>

</telerik:GridTemplateColumn>

<telerik:GridBoundColumn DataField="ShipDate" HeaderText="Ship Date" UniqueName="ShipDate"

AllowFiltering="true">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="Shipper" HeaderText="Shipper" UniqueName="Shipper"

AllowFiltering="true">

</telerik:GridBoundColumn>

<telerik:GridBoundColumn DataField="Consignee" HeaderText="Consignee" UniqueName="Consignee"

AllowFiltering="true">

</telerik:GridBoundColumn>

</Columns>

</MasterTableView>

</telerik:RadGrid>


Shinu
Top achievements
Rank 2
 answered on 06 Feb 2012
1 answer
67 views
Hi, I am working with the 2010.3.1317.35 version of telerik.
This versions loses the file selected after postback, and I need to make it persistent, and I know the latest version supports it.

Is there any way to upgrade only a single control ? the upload one ? If we upgrade all the controls, we have to retest all the pages.

Thanks
Princy
Top achievements
Rank 2
 answered on 06 Feb 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?