Telerik Forums
UI for ASP.NET AJAX Forum
6 answers
115 views
Hi,
I have received the source code of my website from a developer but when I try to open a page in Visual Studio 2012, I get errors all over:
failed to create designer, rendering problems and so on. More details are in the attached picture.
I have added references to telerik.web.design and telerik.web.ui as wel as telerik.web.ui.skins in the project but still I am not coming right.
I can I solve this problem?
Jayesh Goyani
Top achievements
Rank 2
 answered on 02 Sep 2013
9 answers
305 views
Hi all,

I have to ask this and maybe a telerik Admin can answer this as well.  I am using the self-paced tutorial PDF step-by-step document to learn Telerik.  You list a link that is not in the PDF (http://www.telerik.com/help/aspnet-ajax/grddesigncreatinghierarchicalgrids.html).  I also notice that there are other samples and tutorials on the telerik.com website.

  1. How are they (the documentation) different from the other?
  2. What are they?  I've seen the PDF, the above link, the Telerik Trainer (which only lets me view the "introduction", nothing else)
  3. Which one/s should I use to learn Telerik? 

I ask because I'm having some problems using the scripts in the PDF (they don't all work), and I'd like to better manage my time learning Telerik.

Thanks!
r2
Debbie
Top achievements
Rank 1
 answered on 01 Sep 2013
2 answers
151 views
Hi,
I have tried to set up the controls in subject to appear as imageButtons but without success.
Which is the property to be changed to set those menu as imageButtons?
I have highlighted in the attached picture the controls I am talking about.
Felice
Top achievements
Rank 1
 answered on 01 Sep 2013
0 answers
90 views
Hello,
    I have problem in menu bind in TimeSlotContextMenus event.
Here is the menus which i have added in the rad scheduler control but i can't manipulate these menu to display in different time slot according to condition(condition from database).
Example:
<TimeSlotContextMenus>
                                                            <telerik:RadSchedulerContextMenu ID="SchedulerTimeSlotContextMenu" runat="server">
                                                                <Items>
                                                                    <telerik:RadMenuItem Text="New Appointment" Value="New" />
                                                                    <telerik:RadMenuItem IsSeparator="true" />
                                                                    <telerik:RadMenuItem Text="Add Break/Block" Value="Break" />
                                                                    <telerik:RadMenuItem IsSeparator="true" />
                                                                    <telerik:RadMenuItem Text="Paste" Value="Paste" />
                                                                </Items>
                                                            </telerik:RadSchedulerContextMenu>
<telerik:RadSchedulerContextMenu ID="SchedulerTimeSlotContextMenu11" runat="server">
                                                                <Items>
                                                                    <telerik:RadMenuItem Text="Condition" Value="Cond" />
                                                                                                                                   </Items>
                                                            </telerik:RadSchedulerContextMenu>
                                                        </TimeSlotContextMenus>
Only one menu should display in one time slot. I can't get this work. I can do in appointment menu with different menu in RadScheduler1_AppointmentDataBound event.
example:
<AppointmentContextMenus>
                                                            <telerik:RadSchedulerContextMenu ID="SchedulerAppointmentContextMenu" runat="server"
                                                                DataTextField="Status" DataValueField="Code" AppendDataBoundItems="true">
                                                                <Items>
                                                                    <telerik:RadMenuItem Text="Print" Value="Print" />
                                                                    <telerik:RadMenuItem IsSeparator="True" />
                                                                    <telerik:RadMenuItem Text="Copy" Value="Copy" />
                                                                    <telerik:RadMenuItem IsSeparator="True" />
                                                                    <telerik:RadMenuItem Text="Edit" Value="Edit" />
                                                                    <telerik:RadMenuItem IsSeparator="True" />
                                                                    <telerik:RadMenuItem Text="Cancel Chk-In" Value="DelChkIn" />
                                                                    <telerik:RadMenuItem IsSeparator="True" />
                                                                    <telerik:RadMenuItem Text="Cancel Appointment" Value="Delete" />
                                                                    <telerik:RadMenuItem IsSeparator="true" />
                                                                    <%--<telerik:RadMenuItem Text="Payment" Value="Payment" />
                                                                    <telerik:RadMenuItem IsSeparator="True" />--%>
                                                                    <telerik:RadMenuItem Text="Patient Details" Value="PatientDetails" />
                                                                    <telerik:RadMenuItem IsSeparator="true" />
                                                                    <telerik:RadMenuItem Text="Patient Chart" Value="PatientChart" Visible="false" />
                                                                    <telerik:RadMenuItem IsSeparator="true" Visible="false" />
                                                                    <telerik:RadMenuItem Text="Orders" Value="Orders" Visible="false" />
                                                                    <telerik:RadMenuItem Text="Appointment List" Value="AL" Visible="true" />
                                                                    <telerik:RadMenuItem IsSeparator="true" Visible="false" />
                                                                    <telerik:RadMenuItem Text="Visit History" Value="VH" Visible="true" />
                                                                    <telerik:RadMenuItem IsSeparator="true" />
                                                                </Items>
                                                            </telerik:RadSchedulerContextMenu>
                                                            <telerik:RadSchedulerContextMenu ID="BreakContextMenu" runat="server" DataTextField="Status"
                                                                DataValueField="Code" AppendDataBoundItems="true">
                                                                <Items>
                                                                    <telerik:RadMenuItem Text="Edit" Value="Edit" />
                                                                    <telerik:RadMenuItem IsSeparator="True" />
                                                                    <telerik:RadMenuItem Text="Cancel" Value="Delete" />
                                                                </Items>
                                                            </telerik:RadSchedulerContextMenu>
                                                        </AppointmentContextMenus>

Please help me as soon as possible.

Well done Telerik team

Thanks.

Jiten
Top achievements
Rank 1
 asked on 31 Aug 2013
1 answer
169 views
I have a situation where I am presenting the user with a large volume of records on screen.  Call it 500 rows of data.  This information is being viewed in a scrolling section via ScrollHeight property of the grid.  A user can click on a row in the grid which will launch a new page of details.  On that new page there is a "return to list" button that returns the user to the list of records and the desired behavior is that the grid have the previously selected row slected and the window be scrolled down to that item.

So as an example, the user scrolls down to row 250 and clicks on it.  After viewing the infomation and clicking on the "return to list" button the user is presented with the list and row 250 is shown on screen almost as if the user never left the screen.

We've been able to come up with some javascript code that will do the work, but it executes a ltitle slowly resultsing in some jumpy behavior on the screen.  It works, but I am hoping there is a better solution out there.
Jayesh Goyani
Top achievements
Rank 2
 answered on 31 Aug 2013
1 answer
88 views

Hi,

I have a button and a radgrid in myscreen, When I Click the button I am using http response to download a file.
At the end of the file download I want to refresh the radgrid details.
But I am not able to do it

Can you pls help me

Thanks

Jayesh Goyani
Top achievements
Rank 2
 answered on 31 Aug 2013
2 answers
185 views
Hi,

I have a RadRadialGauge inside a Panel and I want to know how can I set the horizontal alignment of the gauge.
I already tried to add a Style to the Panel e.g.( panel1.Style.Add(HtmlTextWriterStyle.TextAlign, "Left"); ) and this works for several telerik's controls. But don't works for RadGauges.

Anyone know how can I do that?

Thanks
Gustavo
Top achievements
Rank 1
 answered on 30 Aug 2013
4 answers
79 views
Just wondering if there are any known issues?

Basically, after selecting a row in RadGrid, with post-back on client select, I am getting reference to the row, and the columns that are hidden / not visible, return a value of "&nbsp" rather than the actual value.

Simply:

GridDataItem item = (GridDataItem)RadGridSchedules.SelectedItems[0];
string id = item["myFieldValue"].Text;

id will be "&nbsp;" with  2013.2.717.40 but when I switch the DLL's to 2012.3.1308.40 it's the expected value.  That's the ONLY change I make back and forth and it fixes / breaks. 

I can't move forward with an update if there are breaks or changes!

Anyone?

Thanks,

Dave
Dave
Top achievements
Rank 1
 answered on 30 Aug 2013
2 answers
139 views
Hi there,

Been looking around lately... couldn't find a way to do it clean.
I have the insert row in mode "InPlace" and one column has a checkbox and other column has a datepicker:
<telerik:GridTemplateColumn DataField="IN_RESLN" HeaderText="Résolu" UniqueName="IN_RESLN" SortExpression="IN_RESLN"
FilterControlWidth="100px" HeaderStyle-Width="120px">
    <ItemTemplate>
        <asp:CheckBox ID="CheckResolution" runat="server" Checked='<%#If(Eval("IN_RESLN") = "True", True, False)%>' Enabled="false" />
    </ItemTemplate>
    <InsertItemTemplate>
        <asp:CheckBox ID="InsertCheckResolution" runat="server" AutoPostBack="True" />
    </InsertItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn DataField="DA_RESLN" HeaderText="Date de résolution" UniqueName="DA_RESLN" SortExpression="DA_RESLN"
ShowFilterIcon="true" HeaderStyle-Width="120px" FilterControlWidth="100px"
AutoPostBackOnFilter="true" FilterDelay="2000" CurrentFilterFunction="Contains">
    <ItemTemplate>
        <asp:Label ID="LabelDateResolution" Text='<%#Eval("DA_RESLN", "{0:yyyy-MM-dd}")%>' runat="server"></asp:Label>
    </ItemTemplate>
    <FilterTemplate>
        <telerik:RadDatePicker runat="server" ID="DatePickerDateResolution"></telerik:RadDatePicker>
    </FilterTemplate>
    <EditItemTemplate>
        <telerik:RadDatePicker runat="server" ID="DatePickerDateResolution"></telerik:RadDatePicker>
    </EditItemTemplate>
    <InsertItemTemplate>
        <telerik:RadDatePicker runat="server" ID="DatePickerDateResolution"></telerik:RadDatePicker>
        <asp:CustomValidator ID="DatePickerDateResolution_Validator" runat="server" ErrorMessage="*" ControlToValidate="DatePickerDateResolution" OnServerValidate="DatePickerDateResolution_Validator_ServerValidate"></asp:CustomValidator>
    </InsertItemTemplate>
</telerik:GridTemplateColumn>


I have Registered the ItemCreated event and got something like this:

If TypeOf e.Item Is GridDataInsertItem Then
            Dim chkResln As CheckBox = DirectCast(insertItem("IN_RESLN").FindControl("InsertCheckResolution"), CheckBox)
            Dim dtePickerDaResln As RadDatePicker = DirectCast(insertItem("DA_RESLN").FindControl("DatePickerDateResolution"), RadDatePicker)
            Dim dtePickerDaReslnValidator As CustomValidator = DirectCast(insertItem("DA_RESLN").FindControl("DatePickerDateResolution_Validator"), CustomValidator)
 
            dtePickerDaResln.Visible = chkResln.Checked
            dtePickerDaReslnValidator.Visible = chkResln.Checked
End If


So actually trying to setup the visibility of the datepicker in other column if the checkbox is checked.
At first when itemcreated is hit, the datepicker is not visible since of course, the checkbox is unchecked.
But once i click it to check it, partial postback comes, and it's still considered unchecked. But it's checked in the interface!

So wondering if you guys can hint me up? is there something i could do to make it work server side?

Thanks
Nicolas
Top achievements
Rank 1
 answered on 30 Aug 2013
1 answer
52 views
Hi, I have a RadGrid with editMode = PopUp, and with EditFormType = WebUserControl. In the UserControl I'm showing a RadWindow, in the RadWindow I have a RadGrid with an EntityDataSource... the problem is: the RadGrid in RadWindow doesn't fire any events, like SelectedIndexChanged, PreRender, ItemCreated, etc...

Can you please help me...?
Sami
Milena
Telerik team
 answered on 30 Aug 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?