Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
126 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
102 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
43 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
81 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
134 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
336 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
66 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
132 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
3 answers
142 views
Hi,

I am new to telerik. I am using ASP.NET AJAX Q1 2012 version. Now I have 3 radchart(one bar chart and 2 pie chart) and 1 radgrid. Now I want to export all these four charts into a single pdf file. Is possible? Any one help me for this please.
Petar Marchev
Telerik team
 answered on 18 Jul 2012
2 answers
78 views
Hello
I have problem with modal window opened by other modal window. Everything is displayed properly and working, but there is big problem with Tabs. They only working on Safari, but not on Firefox or IE.

I cannot go from one input (e.g, rad button or rad numeriktextbox) using Tab key on my keyboard on that browsers. Is there any way to solve that issue?

P.S. Rad buttons and rad numerik text boxes has client site scripts which are working as expected.

P.S.2 This both windows displays internal control. There is no external page redirect.

P.S.3 I'm using version 2010.3.1317.40
Marcin
Top achievements
Rank 1
Veteran
 answered on 18 Jul 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?