Telerik Forums
UI for ASP.NET AJAX Forum
15 answers
784 views
My post is related to this one: http://www.telerik.com/community/forums/aspnet-ajax/window/migrating-from-modalpopupextender-to-radwindow.aspx

I'm trying to replace all instances of the Modal Popup Extender with RadWindow.  I've enclosed a screenshot example of one of them.  Simply put, I want to display a modal popup window and get the user to fill in a bunch of info.

Important Note: Several of the control changes will cause a postback BUT I only want a partial postback!  What's happening now is that every time I change the value of a control that has Autopostback="true" I get a full postback.  This is unacceptable.

Is what I'm looking to do even possible with the RadWindow?  If so, how?

Sincerely,

Robert W.
Marin Bratanov
Telerik team
 answered on 11 Jan 2013
8 answers
142 views
Hi,

    We are using telerik 2011.1.413.35. The content specified in RadEditor doesnt get saved in IE9 when compatibility mode is turned off. But it works fine when the compatiblity mode is turned on. And it works fine in all other browsers that includes firefox, chrome, safari, IE8.

    I have seen the workaround for this issue http://www.telerik.com/support/kb/aspnet-ajax/editor/radeditor-content-not-saved-after-ajax-update-in-firefox-google-chrome-and-safari.aspx. We use Image Button here.  But doing this workaround would result in lot of code changes in several places,

<asp:ImageButton OnClientClick="javascript:__doPostBack(this.id,'');return false;"
ID="ImageButton1" runat="server" OnClick="btnSave_Click"
ImageUrl="Save.gif" /> 

  So, is there any other way to solve the problem. Please guide me.


Thanks,
Hema.
Marcel Härry
Top achievements
Rank 1
 answered on 11 Jan 2013
1 answer
68 views
We have been waiting since June 2012 for Telerik to add font control (size, style, type etc) to the chart axis.
Q3 2012 did not introduce these features and we are left wondering what is going on?

Were are approaching project milestones and deliverables now that are causing us to consider alternative products as Telerik seem uninterested in implementing this basic functionality. Our product requires smaller more compact HTML5 charts. This is just not possible with the font limitations.

Come on Telerik.- when?
Danail Vasilev
Telerik team
 answered on 11 Jan 2013
1 answer
80 views
I am facing problem of user control not updated.

Problem Narration:
As per my and client's requirement:
I've created two user control.
One user control having a drop down.
Another user control having few no of controls and its event.
Both user control i've used in my one web page twice.
FilterDropDown and FilterDropDownGridContact is two user control.(having only a drop down)

For partial postback I've used following AjaxSettings.

<telerik:RadAjaxManager ID="RadAjaxManager1" DefaultLoadingPanelID="RadAjaxLoadingPanel1"
 runat="server">
<AjaxSettings>
<telerik:AjaxSetting AjaxControlID="btnSave">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="FilterDropDown" />
<telerik:AjaxUpdatedControl ControlID="FilterDropDownGridContact" />
</UpdatedControls>
</telerik:AjaxSetting>
</AjaxSettings>
</telerik:RadAjaxManager>
<telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1"  runat="server">
</telerik:RadAjaxLoadingPanel>

Below is code of user controls how i used in first place:
<UserControl:FilterDropDown ID="FilterDropDown" runat="server" GridID="gridLocation"
                                   EnableViewState="true" pageName="UserProfile" PlaceHolderID="ContentPlaceHolder1" />
 
<UserControl:Filter ID="Filter" runat="server" GridID="gridLocation" EnableViewState="true"
                                   PlaceHolderID="ContentPlaceHolder1" />
Below is code of user controls how i used in second time:
<UserControl:FilterDropDown ID="FilterDropDownGridContact" runat="server" GridID="gridClientContact"
                                   EnableViewState="true" pageName="ClientContact" PlaceHolderID="ContentPlaceHolder1" />
<UserControl:Filter ID="FilterGridContact" runat="server" GridID="gridClientContact" EnableViewState="true"
                                   PlaceHolderID="ContentPlaceHolder1" />
Below are the events attached in code behind:
protected void Page_Load(object sender, EventArgs e)
        {
                FilterDropDown.drpFilterChange += new EventHandler(drpFilter_SelectedIndexChange);
                Filter.SaveFilter += new EventHandler(SaveFilter); //attached with btnSave button
                Filter.ClearFilterSelection += new EventHandler(ClearFilterSelection);
                Filter.DeleteFilter += new EventHandler(DeleteFilter);
                FilterDropDownGridContact.drpFilterChange += new EventHandler(FilterDropDownGridContact_SelectedIndexChange);
                FilterGridContact.SaveFilter += new EventHandler(SaveContactFilter);//attached with btnSave button
                FilterGridContact.ClearFilterSelection += new EventHandler(ClearContactFilterSelection);
                FilterGridContact.DeleteFilter += new EventHandler(DeleteContactFilter);
               //Other stuffs
}
When I debug my projects, all custom events fires and get updated data in code behind and in database too.
But it display old(Not updated) data on web page or drop down.

e.g.
Now when I click on btnSave of first user control event fires and as per ajax setting dropdown user control updates.

But, when I click on btnSave of second user control events fires but user control is not updated.
 
So, Whats issue??
 
Is there any way, so that i can update ajax setting such as update first user control when respective user control's btnSave fires and so on.

Kostadin
Telerik team
 answered on 11 Jan 2013
2 answers
91 views
Hi,

We have upgraded telerik version 2012.2.912.40 recently. After upgrade, the textboxes width is not getting displayed correct as specified in aspx when page loads first time in IE. If we refresh the page, it is loading with specified size. The developer tool shows the text box width (Inline style) as "297px" which is no where mentioned in our application. Attached the screenshot for reference. This issue happening after upgrade. The same issue with RadDatePicker  DateInput text box also.

Please help us to resolve this issue.

The textbox in the screenshot as defined in aspx as below for reference

 

 

<telerik:RadTextBox ID="txtValidYear" Width="40px" runat="server"

 

 

 

TextMode="SingleLine" MaxLength="4">

 


Angel Petrov
Telerik team
 answered on 11 Jan 2013
1 answer
181 views
Hi,
i've created a radwindow with contenttemplate.In this radwindow there's a radasyncupload that i sue for upload image. After this process i want to see the image always in this radwindow. I've two questions:

1) Can i use into radwindow with contenttemplate after process upload the property navigateurl so i load another page where i see the image uploaded.

2) How can to see the image into radwindow after upload process?

Bye 
Marin Bratanov
Telerik team
 answered on 11 Jan 2013
3 answers
230 views
Hi,
I am setting background color of RadScheduler's time slot based on some data source attribute.

protected void Schedule_TimeSlotCreated(object sender, TimeSlotCreatedEventArgs e)
    {
              ................
               If(condition == 1)
                       e.TimeSlot.Control.BackColor = Color.White;
               else
                        e.TimeSlot.Control.BackColor = Color.Grey;
                ....
}

On doing so, it is breaking hover background color (especially height). now, when I hover over a timeslot, it partially highlights  it as seen in the image attached. How can I give a background color to time slot and also  highlight  100% width and hieght of timeslot  on hover?

Thanks,
Prava
Ivan Zhekov
Telerik team
 answered on 11 Jan 2013
4 answers
132 views
How do I set the date selected in txPayDate to txtPaydate1 on change?  For example I have this:

<telerik:RadDatePicker ID="txtPayDate" Runat="server" OnDateSelected="OnDateSelected">
                </telerik:RadDatePicker>
<telerik:RadDatePicker ID="txtPayDate1" Runat="server" >
                </telerik:RadDatePicker>

I tried this in javascript:

    function OnDateSelected(sender, e)  
{                                    
        var dateInput = $find('<%= txtPayDate1.ClientID %>');
        dateInput.set_value(args.get_newDate().format("MM/dd/yyyy"));
 
}  

I tried this in code behind:

 txtPayDate1.DateInput.SelectedDate = txtPayDate.DateInput.SelectedDate

a few hours on something that would take me 10 seconds in access.
Anzar
Top achievements
Rank 2
 answered on 11 Jan 2013
1 answer
77 views
Hi I have a pie chart that has been created programatically.
I am trying to add localization here.
This is part of my SharePoint visual web part.
I have included the resource files for different languages.
follwoing is my code
totalallowedspace = getLocalizedValue("TotalSpaceAllotted", LCID);
i am getting the local value for the string from the resource file

PieChart.ChartTitle.Text = totalallowedspace+" "+ alloweddspace.ToString() + " " + "GB";
i am adding the string to the title with some value that is calculated from other methods.

This works perfectly for english but when i browse in French there is no Chart Visible.
It does not displays the chart.

How do i enable localization for the pie chart.

Please guide me through both ways from code behind and from UI side.
I have seen there are few resources for UI side but not for code behind.
Please Help
Danail Vasilev
Telerik team
 answered on 11 Jan 2013
3 answers
59 views
Hi all,

Im a beginner in telerik controls. I have a filter inside radgrid . the filter is working fine .After filtering the grid displays the filtered records.But in the page refresh ,the grid shows the whole records. I need the filtered records only. how can i do this.? Thanks in advance .
Shinu
Top achievements
Rank 2
 answered on 11 Jan 2013
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?