Telerik Forums
UI for ASP.NET AJAX Forum
3 answers
162 views
I am using radscript manager in my application but i dont want to use 

<

 

add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
in web.config so that i am getting error
do i use rad script manager with out this tag in web.config

 

ManniAT
Top achievements
Rank 2
 answered on 24 Aug 2009
1 answer
217 views
Is there a way to set a tooltip for the button of a RadTextBox?  The button shows up when the ShowButton="true" is set.


Shinu
Top achievements
Rank 2
 answered on 24 Aug 2009
3 answers
110 views
Got a weird problem - when clicking on my button to populate the grid based on search criteria, it first gives gives an error saying this._postBackSettings.async' is null or not an object, then click it again, returns empty result, third click - everything works fine!! Any subsequent searches on the same page work as expected... Don't know what to do!! Here's code:

<

 

telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">

 

 

<AjaxSettings>

 

 

<telerik:AjaxSetting AjaxControlID="RadGrid1">

 

 

<UpdatedControls>

 

 

<telerik:AjaxUpdatedControl ControlID="grdSearch" />

 

 

</UpdatedControls>

 

 

</telerik:AjaxSetting>

 

 

</AjaxSettings>

 

 

</telerik:RadAjaxManager>

 

 

<telerik:RadGrid ID="grdSearch" AllowPaging="true" AllowSorting="true" runat="server" AutoGenerateColumns="false"

 

 

OnItemDataBound="grdSearch_ItemDataBound" OnNeedDataSource="grdSearch_NeedDataSource">

 

 

<ExportSettings>

 

 

<Pdf FontType="Subset" PaperSize= "A4" />

 

 

<Excel Format="Html" />

 

 

<Csv FileExtension="csv" ColumnDelimiter="Comma" RowDelimiter="NewLine" />

 

 

</ExportSettings>

 

 

<MasterTableView TableLayout="Auto">

 

 

<Columns>

 

 

<telerik:GridHyperLinkColumn

 

 

DataTextFormatString="'{0}'"

 

 

DataNavigateUrlFields="DebtorId"

 

 

UniqueName="DebtorsNo"

 

 

DataNavigateUrlFormatString="DebtorDetails.aspx?did={0}"

 

 

HeaderText="Debtors No"

 

 

DataTextField="DebtorsNo">

 

 

</telerik:GridHyperLinkColumn>

 

 

<telerik:GridHyperLinkColumn

 

 

DataTextFormatString="'{0}'"

 

 

DataNavigateUrlFields="DebtorId"

 

 

UniqueName="DebtorName"

 

 

DataNavigateUrlFormatString="DebtorDetails.aspx?did={0}"

 

 

HeaderText="Name"

 

 

DataTextField="DebtorName">

 

 

</telerik:GridHyperLinkColumn>

 

 

<telerik:GridBoundColumn

 

 

DataField="Postcode"

 

 

DataType="System.String"

 

 

HeaderText="Postcode"

 

 

SortExpression="Postcode"

 

 

UniqueName="Postcode">

 

 

</telerik:GridBoundColumn>

 

 

<telerik:GridTemplateColumn HeaderText="Is Active" UniqueName="TemplateColumn">

 

 

<ItemTemplate>

 

 

<asp:CheckBox id="statusChkBox" runat="server"

 

 

Checked='<%# Eval("Active") %>' Enabled="false">

 

 

</asp:CheckBox>

 

 

</ItemTemplate>

 

 

</telerik:GridTemplateColumn>

 

 

</Columns>

 

 

</MasterTableView>

 

 

<PagerStyle Mode="NextPrevAndNumeric" />

 

 

<FilterMenu EnableTheming="True">

 

 

<CollapseAnimation Duration="200" Type="OutQuint" />

 

 

</FilterMenu>

 

 

</telerik:RadGrid>

 



protected

 

void Page_Load(object sender, EventArgs e)

 

{

 

if (!Page.IsPostBack)

 

{

 

CommonHelper.SetFocus(txtSearch);

 

grdSearch.DataSource =

new int[] { };

 

 

//Response.Redirect("NotImplemented.aspx");

 

}

}

 

void BindGrid()

 

{

 

DebtorCollection debtorCollection = new DebtorCollection();

 

 

try

 

{

debtorCollection =

DebtorManager.Search(txtSearch.Text);

 

}

 

catch (Exception ex)

 

{

lblError.Text = ex.Message;

}

grdSearch.DataSource = debtorCollection;

 

//grdSearch.DataBind();

 

}

 

protected void btnSearch_Click(object sender, EventArgs e)

 

{

 

//BindGrid();

 

grdSearch.Rebind();

}

 

protected void grdSearch_ItemDataBound(object sender, GridItemEventArgs e)

 

{

 

//if (e.Item is GridPagerItem)

 

 

//{

 

 

// lblTotalNoRecords.Text = "Total number of records found: " + (e.Item as GridPagerItem).Paging.DataSourceCount.ToString();

 

 

//}

 

}

 

protected void grdSearch_NeedDataSource(object source, Telerik.Web.UI.GridNeedDataSourceEventArgs e)

 

{

BindGrid();

}

Daniel
Telerik team
 answered on 24 Aug 2009
6 answers
92 views
Hi

It seems that i ran into another bug in de scheduler control.
We are using the schedular control with webservices and with the advanced form.

When i click the "Show 24 hours" button at the bottom of the schedular after moving an appointment,
the appointment that i moved stays on the exact same place in the Radschedular, while the other appointments are moving to the correct position.

This also happens in your demo application Demo .

Can you fix this problem?


Datamex
Top achievements
Rank 2
 answered on 24 Aug 2009
1 answer
52 views
We are getting the following error when using the editor control on firefox 3.5.2 and also chrome, our telerik editor version is 2009.2.701.20, so its the latest, but we are getting the following error in a pop up window
"Error while executing filter IndentHTMLContentFilter - SyntaxError: Duplicate RegExp flag g" after that you control displays correctly.
Lini
Telerik team
 answered on 24 Aug 2009
1 answer
84 views
Hi:

At this moment I'm using a radajaxpanel, but with IE8 it takes 10-15secs to remove loading image, but the same app with FF3.5 it takes 1-2secs.

Any advice is welcomed
Dimo
Telerik team
 answered on 24 Aug 2009
3 answers
149 views
Hello all.  I have a RadGrid with 1 MasterTableView and 1 GridTableView.  I want to implement
a custom CommandItemDisplay that opens a new window for adding the record.  My only
problem is that I will need to send the "ID" of the parent grid item.  Obviously this will be done
through JavaScript, however, I don't know how to get the required data I need to send the
Add Record Window.

I have a link button in the GTV CommandItemDisplay that runs the JS Code below right now.

   function Add(sender, args) {  
       // var eventid = args.get_parent.get_dataKeyValue("ID");
       alert("Add record for master # " + eventid);  
   } 

Anyone have any ideas?  Thanks in advance.

Joshua
Princy
Top achievements
Rank 2
 answered on 24 Aug 2009
3 answers
349 views
Hi,

In RAD hierarchical grid, how to switch the detail table rows to edit mode, on expanding a parent row which is in edit mode.

Thanks
Viswa
Shinu
Top achievements
Rank 2
 answered on 24 Aug 2009
2 answers
121 views
Hi,

Have a nice day..

I am using telerik radgrid for creating an application.

I am using Rebind() radgrid, when error occur while save the edited item. But rebind all the item even modified also..
 
here I want to rebind radgrid without affecting editing row.

Please give an suggestions.

thanks by advance..

Regards
maha




maha raja
Top achievements
Rank 1
 answered on 24 Aug 2009
2 answers
338 views
Hi,

I have deployed my project in IIS7 + Window server 2008. By referring the other post  I have added the following lines in my Web.Config (<system.webServer> Tag)



<system.web> 
<httpHandlers> 
      <remove verb="*" path="*.asmx"/> 
      <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> 
      <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> 
  
      <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false"/> 
      <add path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false"/> 
    </httpHandlers> 
    <httpModules> 
      <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> 
    </httpModules> 
  </system.web> 
........... 
........... 
........... 
<system.webServer> 
    <validation validateIntegratedModeConfiguration="false"/> 
    <modules> 
      <remove name="ScriptModule" /> 
      <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> 
    </modules> 
    <handlers> 
      <remove name="WebServiceHandlerFactory-Integrated"/> 
      <remove name="ScriptHandlerFactory" /> 
      <remove name="ScriptHandlerFactoryAppServices" /> 
      <remove name="ScriptResource" /> 
      <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" 
           type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> 
      <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" 
           type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/> 
      <add name="ScriptResource" preCondition="integratedMode" verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> 

<
add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false"/> 
      <add path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false"/> 
    </handlers> 
  </system.webServer> 


Eventhough its not working. Is anything I have missed? Kindly tell me a solution.

Jones
Top achievements
Rank 1
 answered on 23 Aug 2009
Narrow your results
Selected tags
Tags
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?