Telerik Forums
UI for ASP.NET AJAX Forum
2 answers
125 views
Dear Telerik Staff,

lets say, in my database, I have a field / colum called "Location" in order to store the location of an appointment as simple text.

I know that I can add an attribute to the advanced edit form of the scheduler - in this case "Location". Then, RadScheduler creates a simple Textbox field in order to store the information about the location of an appointment as text.

That is what I needed. But RadScheduler names the label besides the textbox exactly like the field, it is bound to. Is there a way to replace the default label, so I can add an alias for a attribute, I have added, for example "Ort" (German) or "Where the appointment takes place"??
 
Would be happy to hear from you, soon.

Best regards,
Marco
Marco Beyer
Top achievements
Rank 1
 answered on 23 Jun 2011
1 answer
68 views
Hi there,
    We use a rad date time picker  which gives us some sort of error in some particular machines. The date format we used is MM/dd/yyyy and culture is English (United States). But in some machines, radPicker.SelectedDate property still gives dd/MM/yyyy format. Below is the source of the same for your reference

<

 

telerik:RadDatePicker ID="radPicker1" runat="server" Culture="English (United States)"

 

 

EnableTyping="True">

 

 

<Calendar runat="server" UseRowHeadersAsSelectors="False" UseColumnHeadersAsSelectors="False" ViewSelectorText="x">

 

 

</Calendar>

 

 

<DatePopupButton ImageUrl="" HoverImageUrl=""></DatePopupButton>

 

 

<DateInput runat="server" DisplayDateFormat="dd-MMM-yyyy" DateFormat="MM/dd/yyyy">

 

 

</DateInput>

 

 

</telerik:RadDatePicker>

 


Could you please find the solution for it ?
Thanks
Shafi
Martin
Telerik team
 answered on 23 Jun 2011
2 answers
91 views
Hi

I am doing some research on what we will need to do to localize our product in the future.

I have read your information on localizing a RadGrid, and it seems straightforward.

I do have one question, which I will get to in minute.

It seems you require the setting of the Culture attribute within the grid defintion.

We are currently looking at allowing the user to switch languages on-the-fly.

To do this with non-telerik controls I have to make sure the Culture and UICulture settings on the page are set to auto.

I then use the tool available in Visual Studio to Generate Local resources for my page.

This causes meta tags to be applied to the native asp tags.

If I do all this and create separate language versions of my resx files I can change languages
by using the language options setting in my browser.

How do  I cause Telerik controls to switch languages dynamically?

TIA
Sebastian
Telerik team
 answered on 23 Jun 2011
1 answer
63 views
hi, i have a radgrid with custom paging then i made a user control edit form to update when you change in grid pages and press edit the values in user control will be for different row.the value of gridInsertion object will be different from the row i pressed edit on can any one help please,,,thanks
Daniel
Telerik team
 answered on 23 Jun 2011
1 answer
68 views
Hello,
Is it possible to display folders with a virtual name and not the real name?
for exmaple my folder names are "fldr1, fldr2, flrd3"  but i want it to display "files, music, photos"
but I need to retrieve the name of the real folder when the files is opened not the virtual name.

or can it show the parent folder as part of the name of the folder "parent/folder" ?

Thank you
Dobromir
Telerik team
 answered on 23 Jun 2011
5 answers
178 views
Hello I'm using Sum function on GridNumericColumn and it works well but i want to add some text to footer like "Sum :" i tried using FooterText="Sum :" and FooterAggregateFormatString="Sum: {0:C}" but nothing happen .
any ideas?
Thanks.
Iana Tsolova
Telerik team
 answered on 23 Jun 2011
1 answer
121 views
Hi
Building a hierarchical programmatic grid. The grid is held within a place holder

<form id="form1" runat="server" method="post">
<telerik:RadScriptManager ID="RadScriptManager1" runat="server" />
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="ContSelect">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="GridID" />
<telerik:AjaxUpdatedControl ControlID="ContSelect" />
</UpdatedControls>
</telerik:AjaxSetting>
<telerik:AjaxSetting AjaxControlID="GridID">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="GridID" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<
div class="contributionTable" >
    <asp:PlaceHolder ID="PlaceHolder1" runat="server"></asp:PlaceHolder>
</div>

The grid is added to this placeholder. Here is also some of the code, I believe the code that covers relevant sections of building the grid. The full grid build code is not detailed here though.

The problem is that the grid takes up about 1/3 of the size of the IE browser. What I would like is for it to fill the browser with scrolling bars at the bottom and right. If the browser is expanded or contracted, the grid will resize (client side). Is this possible?

GridID1.ID = "GridID1";
GridID1.DataSource = contributionColumns;
GridID1.MasterTableView.DataKeyNames = new string[] { "TeamId" };
GridID1.Width = Unit.Percentage(98);
GridID1.PageSize = 5;
GridID1.AllowPaging = true;
GridID1.PagerStyle.Mode = GridPagerMode.NextPrevAndNumeric;
GridID1.AutoGenerateColumns = false;
GridID1.ShowStatusBar = true;
GridID1.GroupingEnabled = true;
GridID1.ShowGroupPanel = false;
GridID1.ClientSettings.AllowDragToGroup = false;
GridID1.ClientSettings.AllowColumnsReorder = true;
GridID1.MasterTableView.PageSize = 20;
GridID1.MasterTableView.Width = Unit.Percentage(100);
GridID1.ClientSettings.Scrolling.FrozenColumnsCount = 2;
GridID1.ClientSettings.Scrolling.AllowScroll = true;
GridID1.ClientSettings.Resizing.EnableRealTimeResize = true;
salesTeam.DataSource = contributionColumns;
salesTeam.DataKeyNames = new string[] { "SMSId" }; 
salesTeam.Width = Unit.Percentage(100);
relationFields = new GridRelationFields();
salesTeam.ParentTableRelation.Add(relationFields);
GridID1.MasterTableView.GroupByExpressions.Add(new GridGroupByExpression("TeamFunction group by TeamFunction"));
GridGroupByExpression expression = new GridGroupByExpression();
GridGroupByField groupbyField = new GridGroupByField();
GridID1.MasterTableView.GroupByExpressions.Add(new GridGroupByExpression("SalesTeam group by SalesTeam"));
expression = new GridGroupByExpression();
groupbyField = new GridGroupByField();
boundColumn = new GridBoundColumn();
GridID1.MasterTableView.Columns.Add(boundColumn);
boundColumn.DataField = "SalesPerson";
boundColumn.HeaderText = "Sales person";
boundColumn.Visible = true;
foreach (DataColumn col in contributionColumns.Tables[0].Columns)
{
    if (col.Ordinal > 5)
    {
        boundColumn = new GridBoundColumn();
        GridID1.MasterTableView.Columns.Add(boundColumn);
        boundColumn.DataField = col.ColumnName;
        boundColumn.HeaderText = col.ColumnName;
        boundColumn.Visible = true;
    }
}
GridID1.DataBind();
this.PlaceHolder1.Controls.Add(GridID1);


Galin
Telerik team
 answered on 23 Jun 2011
2 answers
131 views
Hi,

I see that the call to the web service passes a context parameter with a "TargetControlID" and "Value" keys.

I can see that TargetControlID is set to the id of the target control, but what is the "Value" parameter and how do I set its value so I can use it to pass information?

NB: Although you have 2 examples on your website of using a web service to display tooltips, I cannot see this information. The code for the actual web services is not shown. Also I can't see anything relating to using the web service option in the documentation! Perhaps this needs updating?
Sime
Top achievements
Rank 1
 answered on 23 Jun 2011
1 answer
105 views
Hi,

I have a page that uses RadTabStrip with multiview with a lot of tabs. Using the tab strip I notice that the page events for the inactive tabs are still firing, which is what I need.  However, when I view the source of the rendered HTML I notice that all the contents of all the multiviews (even inactive ones) are rendered. Since I have lots of tabs and controls in them it's causing a client side slow.

Is there a way to not render the output for these inactive tabs? Tried cutting it off in the Render event but then Telerik will have javascript errors cause they can't find the controls anymore.

Thanks,
Gilbert
Cori
Top achievements
Rank 2
 answered on 23 Jun 2011
1 answer
148 views
Hello.
I have a problem when i execute command radopen in IE9.
The exception is "DOM Exception: INVALID_CHARACTER_ERR"

and the line that throw the exception is
m=($telerik.isIE)?document.createElement("<iframe name='"+a+"'>"):

I runnning over the last telerik actualization Q1 2011
Also I can't run IE9 in compatibility mode to fix this beacause my entire site arise in style problems.

Thanks in advance.
Georgi Tunev
Telerik team
 answered on 23 Jun 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?