Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
194 views
I need to create a Login Window in an MVC app that will pop up no matter which page the user is on.  In other words, I need to hook it into the Layout page so it is available no matter where the user should happen to be in the app.

Is there a code sample for this? 

Greg
Greg Gum
Top achievements
Rank 1
 answered on 12 Dec 2013
2 answers
112 views
Greetings,

Suppose we have the following code:

var g=$find("some grid id")
var b=g.get_batchEditingManager()
var v=g.MasterTableView
 
g.add_command(function (sender, args)
    {
        if(args.get_commandName() == "BatchEdit" && args.get_tableView() == v)
            alert("save");
    });

If I call b.saveChanges(v), the event is fired and the alert will be shown, but if I call b.
saveAllChanges
saveAllChanges(), the event is not fired. Why this happens?
I looked at the code of the two methods and it appears that the grid component was designed so.

I'm in need to this functionality because I want to do a manipulation to the grid before saving.
أشرف
Top achievements
Rank 1
 answered on 12 Dec 2013
3 answers
92 views
Hi,

I create my custom Telerik Skins with ASP.Net Themes. I have a .skin file resembling the snippet beneath. 

<%@ Register TagPrefix="telerik" Namespace="Telerik.Web.UI" Assembly="Telerik.Web.UI" %>
 
<telerik:RadDatePicker runat="server" EnableEmbeddedSkins="false"
           CssClass="RadPicker_Laurens" SkinID="Laurens">
    <DateInput CssClass="RadInput_Laurens"
        DisabledStyle-CssClass="RadInput_Disabled_Laurens"
        EmptyMessageStyle-CssClass="RadInput_Empty_Laurens"
        EnabledStyle-CssClass="RadInput_Enabled_Laurens"
        FocusedStyle-CssClass="RadInput_Focused_Laurens"
        HoveredStyle-CssClass="RadInput_Hover_Laurens"
        InvalidStyle-CssClass="RadInput_Error_Laurens"
        ReadOnlyStyle-CssClass="RadInput_Read_Laurens">
    </DateInput>
    <Calendar CssClass="RadCalendar_Laurens">
    </Calendar>
</telerik:RadDatePicker>

The problem is that all the named cssClasses (except "RadPicker_Laurens") aren't loaded into the Html. I get a transperant looking calendar. With 'Developers Tools' I cannot find "RadCalender_Laurens".

Perhaps noteworthy: my Telerik version is 2011.2.915.40
Laurens
Top achievements
Rank 1
 answered on 12 Dec 2013
4 answers
279 views
I have nested grids. in child table I have this: 
<telerik:GridDropDownColumn AllowFiltering="true" DataField="Customer_Id" 
DataSourceID="entityDataSource1" DropDownControlType="RadComboBox"
HeaderText="Customer Name" ListTextField="Name" ListValueField="Customer_Id"
UniqueName="CustomerNameDropDown" AllowAutomaticLoadOnDemand="true">  </telerik:GridDropDownColumn>

when I try to select it says: Object reference not set to an instance of an object
So, automatic load on demand does not work with nested grids? Or I have to use edit template?
Nencho
Telerik team
 answered on 12 Dec 2013
1 answer
66 views
Version : I am using the latest Telerik ASP.Net suite - Q3 2013.
Control : Telerik RadGrid
Environment: SharePoint 2013, using  Telerik Radgrid for custom development.
Issue:
I have 2 rad grids on the page. I am using Popup Edit Form with custom template. The grid has 20 columns, hence the edit form has got lot of input fields. The problem I have is, in IE 10, the pop up is showing only half of the screen until the grid boundaries, the rest are all hidden. I am attaching the bad screenshot from IE. It is rendering fine in FF, you will see that in the attachment. I did set popup z-index to very high number "100001", but it did not fix the issue. Any direction is helpful as I have very tight deadline.

Thanks
Ramya
Galin
Telerik team
 answered on 12 Dec 2013
2 answers
209 views
Hello,

Can anyone show me how to bind time from database field?

I tried
RadTimePicker1.SelectedTime = Convert.ToDateTime(dataRow["TimeDeparted"].ToString());

Complied error:
Error   2   Cannot implicitly convert type 'System.DateTime' to 'System.TimeSpan?'

Thank you,
Sam
Sam
Top achievements
Rank 1
 answered on 12 Dec 2013
7 answers
155 views

Hello ,

I am  using  the Telerik Radeditor  in are application[Visual Studio 2012(C#)] but we are facing following  issue  while using the  document manager features of it .

Case:

#If we Upload  more than one document and click on uploaded document then it's name get display on the right screen  but when we click on the other uploaded  document, then the name that is coming on that screen is not getting updated. Reference screen shot is attached .

Telerik version:2013.1.4.3.40

.

 Please help me out to fix it.

Thanks!  in Advance.

Bharat
Top achievements
Rank 1
 answered on 12 Dec 2013
3 answers
407 views
Just checking if this would be doable:

We have a need to transpose the content of the RadGrid, i.e. make columns in the source data become rows in the RadGrid, and vice-versa.
I know I could do this "manually" be transposing the source datatable, but I wonder if there's any support for this built-in.

Thanks!
/Fredrik
Konstantin Dikov
Telerik team
 answered on 12 Dec 2013
3 answers
357 views
Hi Good morning,

I have a RadGrid on edit mode, I need change the color when a cell is modified, Could you please confirm me if would be possible implement that functionality and How?

Thanks in advance,
Angel Petrov
Telerik team
 answered on 12 Dec 2013
1 answer
189 views

How to pass additional data to context from RadAutoCompleteBox

This is on my markup, the retrieval of data is working but passing the data to context from the RadAutoCompleteBox has a problem.

<
telerik:RadAutoCompleteBox
   ID="racbTest"
   runat="server"
   DataTextField="Text"
   AutoPostBack="False"
   TextSettings-SelectionMode="Single"
   OnClientItemsRequesting="TestRequesting"
   InputType="Text"
   AllowCustomEntry="True">
   <WebServiceSettings
       Path="../DataSources/DataLoader.asmx"
       Method="SearchTest">
   </WebServiceSettings>
</telerik:RadAutoCompleteBox>
 
<telerik:RadCodeBlock runat="server">
   <script>
      function TestRequesting(sender, args) {
         args.get_context()["Foo"] = "Bar";
      }
   </script>
</telerik:RadCodeBlock>


and this is the code in the web service

[WebMethod]
public AutoCompleteBoxData SearchTest(RadAutoCompleteContext context)
{
   string searchString = context.Text;
   string foo = context["Foo"].ToString();
}

the problem is in the WebMethod, the context["Foo"] throws an error that

The given key was not present in the dictionary.

Any help would be appreciated.. Thanks in advance.


Bozhidar
Telerik team
 answered on 12 Dec 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?