Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
113 views
Dear Sir/Madam,
Am using RadChart control to display data. Image size which is being generated in chart control is around 12KB to 13KB. As am using 60 chart control in page and i need to upload these images along with some text to pdf. Now am getting pdf file with size around 500 KB, which is not suitable for my requirement.

Is there any way to reduce chart image size (5 or 6 kb) which is generated in Chart Control ?

Thanks in advance

Thanks,
Sumanth
Petar Marchev
Telerik team
 answered on 18 Jul 2012
1 answer
106 views
Hi,

Just a question which has been bugging me regarding the AjaxControlID with a Pop Up Window refresing the Parent Grid
I've always used this method http://demos.telerik.com/aspnet-ajax/controls/examples/integration/gridandwindow/defaultcs.aspx?product=window

to refresh the Grid in the Parent. The point here is that in order to have the RadGrid to be refreshed, we need the Initiator ( AjaxControlId to be that of the AjaxManagerProxy ) with the AjaxRequest ( Since the ajax is called client side in the RefreshGrid() js in the parent)

However, it sounds like any ajax request done will always refresh the RadGrid, is it the case?
May be I'm missing something because I dont understand it correctly but Initially I thought I should restrict the initiator to be the lowest denominator ... hence the RadWindow Control ID.

Similar to If I have a button or DDL which causes a partial post back, I would put the ID of the button or DDL. WHy putting the ID of the Window Control does not trigger the Refresh of the Grid?

 Also let's assume I have 2 AjaxSettings; (RadAjaxManagerProxy1, grdList) and (cmdMyDropDown, rptAnotherList) declared in the mark up. Does it mean when cmdMyDropDown causes an ajax request, it will update both the grdList and rptAnotherList ?


Thanks 

 

Maria Ilieva
Telerik team
 answered on 18 Jul 2012
1 answer
138 views
Hello all ..

i've a nested radGrid2 into RadGrid1 ..
Both have paging ,,
but in the inner radgrid, when i click page2 (e.i.) , it disappears and when i collapse and then expand its parent row , I can see the data from the page 2.
Jayesh Goyani
Top achievements
Rank 2
 answered on 18 Jul 2012
0 answers
109 views
Hello,

I'm want to convert this sql query to Entity Framework,
how can I do it?

this is the code(found the popular HobbyCode):

select HobbyCode,count(HobbyCode)
from UserFavorites
group by HobbyCode
having count(*) >= all (select count(HobbyCode)
from UserFavorites
group by HobbyCode);

Thanks a lot.
Asaf.
Asaf
Top achievements
Rank 1
 asked on 18 Jul 2012
1 answer
48 views
Hi,

http://www.telerik.com/help/aspnet-ajax/grid-custom-editors.html


I tried to follow the example in the help tutorial above. It works fine.
However, I have some GridTemplateColumn that I need to create GridTemplateColumnEditor for it (programmatically), and this help tutorial does not have example for that.

Would you please show me an example of creating GridTemplateColumnEditor programmatically?


Thanks

Lamk.
Andrey
Telerik team
 answered on 18 Jul 2012
1 answer
84 views
I need to have a progress bar inside my grid
<ItemTemplate>
 <div id="progress_bar" class="ui-progress-bar ui-container">
  <div id="PBar" class="ui-progress" style="width:0;">
  <span class="ui-label" style="display:block;"> <b id="PValue" class="value">0%</b></span>
  </div><!-- .ui-progress -->
 </div><!-- #progress_bar --> 
</ItemTemplate>
 for (var i = 0; i < rows.length; i++) {
                masterTable.getColumnByUniqueName("IDMailing").get_element(); //accessing Bound Columns
                idMailingToWrite = rows[i].get_cell("IDMailing").innerText;

                    if (idMailingToWrite == idMailingToFind) {
                        var pbar = rows[i].findElement("PBar");
                        pbar.style.width = progressValue + "%";

                        var PValue = rows[i].findElement("PValue");
                        PValue.innerHTML = progressValue + "%";

                    }
            }

the problem is that as I access to the div to write the value it always is the first div, I mean the one of the first row of the grid no matter of what row really is.

how can I access to the right div?

Thank you


Jean-Marc
Top achievements
Rank 1
 answered on 18 Jul 2012
9 answers
148 views
Hi all, I have a RadComboBox that is populated using a SqlDataSource. CheckBoxes="True" and MarkFirstMatch="True". With the checkboxes enabled and the mark first match, the combobox will NOT fire the SelectedIndexChanged event which then determines which items are selected and puts them into a hidden label.

If i turn MarkFirstMatch off, then it works fine. Anyone else know of this problem and a work around? My users really enjoy using the MarkFirstMatch option and the checkboxes are required in order to select multiple filters from the RadComboBox. There must be something for this bug.

Thanks in advanced.
Dimitar Terziev
Telerik team
 answered on 18 Jul 2012
1 answer
358 views
VS2010, IIS7, .net 4.0.  The application works fine on localhost but when I upload it to the server I get the following error:

Could not load type 'Telerik.Web.UI.RadUploadHttpModule'



I am currently using the trail version of Rad Controls and would like to get this running ASAP.  Here is my web.config file:

<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <connectionStrings>
**** DELETED ****
  </connectionStrings>
  <appSettings>
    <add key="Telerik.Skin" value="Web20" />
    <add key="Telerik.ScriptManager.TelerikCdn" value="Disabled" />
    <add key="Telerik.StyleSheetManager.TelerikCdn" value="Disabled" />
  </appSettings>
  <system.web>
      <customErrors mode="Off" />
      
      
    <compilation debug="true" strict="false" explicit="true" targetFramework="4.0" />
    <pages>
      <controls>
        <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" />
      </controls>
    </pages>
    <httpHandlers>
      <add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false" />
      <add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false" />
      <add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false" />
      <add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false" />
      <add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false" />
    </httpHandlers>
    <httpModules>
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" />
      <add name="RadCompression" type="Telerik.Web.UI.RadCompression" />
    </httpModules>
  </system.web>
  <system.webServer>
    <validation validateIntegratedModeConfiguration="false" />
    <modules runAllManagedModulesForAllRequests="true">
      <remove name="RadUploadModule" />
      <add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" preCondition="integratedMode" />
      <remove name="RadCompression" />
      <add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="integratedMode" />
    </modules>
    <handlers>
      <remove name="ChartImage_axd" />
      <add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode" />
      <remove name="Telerik_Web_UI_SpellCheckHandler_axd" />
      <add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode" />
      <remove name="Telerik_Web_UI_DialogHandler_aspx" />
      <add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode" />
      <remove name="Telerik_RadUploadProgressHandler_ashx" />
      <add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode" />
      <remove name="Telerik_Web_UI_WebResource_axd" />
      <add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode" />
    </handlers>
        <defaultDocument>
            <files>
                <add value="RadDatePickerWebForm.aspx" />
            </files>
        </defaultDocument>
  </system.webServer>
</configuration>


Any assistance would be greatly appreciated.

Thanks.
Plamen
Telerik team
 answered on 18 Jul 2012
0 answers
71 views
Hi,

i am using RadMap in my silverlight project, i have data like country-states-districts,i want to display countrys when map loaded.
after that when i click on some country node the map should be display states with respect clicked country, and click on state map should display districts.please help me and if you have any sample project please attach that

Thanks in Advance
Chalam
Top achievements
Rank 1
 asked on 18 Jul 2012
3 answers
141 views
When I bind the control to the datasource I got the following Error:

This constraint cannot be enabled as not all values have corresponding parent values.

Here is My Proc. :

Create

 

proc [sel_user]

 

@username

int

 

as

select

 

* from dbo.MinaTableOne

 

where

 

id= @username

But When I remove the Where Cluse It works Fine
so When I use this Proc. :

 

Create proc [sel_user]

 

@username

int

 

as

select

 

* from dbo.MinaTableOne

 

 

Also here is my code:

 

 

 

Dim dt As DataTable

 

 

 

 

dt = Nothing

 

 

 

 

dt = New DataTable

 

 

 

 

dt = ins.selectPOcombo(1013)

 

RadOrgChart1.DataTextField = dt.Columns(1).ToString

RadOrgChart1.DataFieldID = dt.Columns(0).ToString

RadOrgChart1.DataFieldParentID = dt.Columns(5).ToString

RadOrgChart1.DataSource = dt

RadOrgChart1.DataBind()

Note "ins" is my ADO Class

 

Any Ideas Why
Thanks

Bozhidar
Telerik team
 answered on 18 Jul 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?