Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
103 views
Hi,

I am using Telerik RadGrid with google like filtering.
I need to retain the filter values of one column when another column is filtered.

Bodevain Svensson
Top achievements
Rank 1
 answered on 02 Sep 2009
1 answer
257 views
Hello,

how can i get a postback when clicking the checkbox in a radlistbox? I know it's currently not built in but how can i add this?


Mr. Plinko
Top achievements
Rank 1
 answered on 02 Sep 2009
2 answers
589 views
Hi.

I have both VS2005 and VS2008 on the same development computer (64bitXP) and have been succesfully using the ASP.NET Ajax 2009 Q2 controls in VS2005.  I recently ported my website code to VS2008 and plan to work in that IDE now.  I manually added the Telerik RAD Controls to the 2008 toolbox, so no problem there, but the "Telerik" menu item for all the VS Extensions does not appear in VS 2008 IDE.  It is in the VE2005 copy, but I can't seem to find out how to get it into VS2008.  Trying to re-install using the RADControls installer simply informs me that the installation had already been done.  How can I get the Telrik menu item to appear in the VS2008 IDE?

Thanks for a great product!!

Tom Stanley
TALJAC Computing Consultants, LLC
T. Stanley
Top achievements
Rank 1
 answered on 02 Sep 2009
2 answers
158 views

I have a page which contains some search parameters and a telerik chart.
At the beginning, the page can be rendered because the chart is invisible, once i click the generate chart button, it run for a long time and finally prompt for username and password, after entering 3 times, it shows me the 401.2 error.

The web application is using 2008 Q3 on IIS 6.

Here is part of my web.config

<location path="Telerik.Web.UI.WebResource.axd">  
        <system.web> 
            <authorization> 
                <allow users="*"/>  
            </authorization> 
        </system.web> 
    </location> 
    <location path="ChartImage.axd">  
        <system.web> 
            <authorization> 
                <allow users="*"/>  
            </authorization> 
        </system.web> 
    </location> 
 
         .......  
 
<httpHandlers> 
            <remove path="*.asmx" verb="*"/>  
            <add path="*.asmx" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>  
            <add path="*_AppService.axd" verb="*" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>  
            <add path="ScriptResource.axd" verb="GET,HEAD" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>  
            <add path="Telerik.RadUploadProgressHandler.ashx" verb="*" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI"/>  
            <add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4"/>  
            <add path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4"/>  
            <add path="ChartImage.axd" verb="*" type="Telerik.Web.UI.ChartHttpHandler, Telerik.Web.UI, Culture=neutral, PublicKeyToken=121fae78165ba3d4" validate="false"/>  
            <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false"/>  
        </httpHandlers> 
Vladimir Milev
Telerik team
 answered on 02 Sep 2009
3 answers
133 views
When using an Radwindow within an IFrame the window will shift another 2 pixels after dragging the window (or just by clicking on the titlebar). This only happens if the attribute frameborder of the IFrame is set to zero (no border). If the IFrame has a border this behavior doesn't occur (frameborder="1"). The problem only occurs in Internet Explorer, not in Firefox.

Page1 default.aspx  (Containing IFrame)
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default"%> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml">  
<head runat="server">  
   <title></title>  
</head> 
<body> 
   <form id="form1" runat="server">  
   <div> 
      <iframe src="default2.aspx" width="800" height="600" frameborder="0" style="left: 50px; top: 50px; position: absolute"></iframe> 
   </div> 
   </form> 
</body> 
</html> 
 


Page2 default2.aspx (Page is loaded in IFrame and shows a radwindow)
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default2.aspx.vb" Inherits="Default2"%> 
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml">  
<head runat="server">  
   <title></title>  
</head> 
<body> 
   <form id="form1" runat="server">  
   <telerik:RadScriptManager ID="RadScriptManager1" runat="server">  
   </telerik:RadScriptManager> 
   <telerik:RadWindowManager ID="RadWindowManager1" runat="server">  
      <Windows> 
         <telerik:RadWindow ID="RadWindow1" runat="server" NavigateUrl="http://www.google.com" 
            VisibleOnPageLoad="True" Skin="Vista">  
         </telerik:RadWindow> 
      </Windows> 
   </telerik:RadWindowManager> 
   </form> 
</body> 
</html> 
 
Kamen Bundev
Telerik team
 answered on 02 Sep 2009
1 answer
97 views
Hello all,

Is it possible to add a timepicker control using javascript (client side)?
I saw some examples using placeholders but didn't quite understood what needs to be done and if it is possible.

Regards,
T.
Schlurk
Top achievements
Rank 2
 answered on 02 Sep 2009
5 answers
437 views
Hi,

            Im having Gird, Textbox and a search button in the form. User has to enter the value into the textbox and upon clicking the button, ive to show the records that matches the text from textbox in Radgrid. I've used the following code to accomplish the task.

protected

 

void imgSearch_Click(object sender, EventArgs e)

 

{

    Grd1.EnableLinqExpressions =

false;

 

 

    string l_filer = string.Empty;

 

 

    if (!String.IsNullOrEmpty(txtName.Text.Trim()))

 

        l_filer =

"name LIKE '" + txtName.Text.Trim() + "'";

 

 

    else

 

        l_filer =

"1 = 1 ";

 

    GrdUDF.MasterTableView.FilterExpression =

"(" + l_filer + ")";

 

    GrdUDF.Rebind();

}

Here the problem is, when I give the exact word in the textbox, it will give me the result. but I want to search the records using "Contains". say for example, If I'm giving "D" in textbox, it should show the list of records, that contains "D". if nothing I there, then I've to show all the records in the grid.

I dont know, where I slipped. any help????
thanks in advance,
Prabhu KS

Prabhu
Top achievements
Rank 2
 answered on 02 Sep 2009
5 answers
133 views
Hi,

I have a radgrid displaying pivot data so the grid is auto generated.  what I want to do is replace the some of the cells with textboxes (with the cell value in it) I dont need to use the grid commands to process the updates I just need it so say the last 6 cells are editable I can then have a seperate "Apply" button where I can find the values from the server.

I have tried using the Onitemcreated and changing the flag to e.item.edit = true with the grid set to use inline edit but it always generates a edit form

any suggestions?

Thanks

Paul
Top achievements
Rank 1
 answered on 02 Sep 2009
3 answers
130 views
I am using need_datasource function to bind my grid:

void grdFinancialPeriods_NeedDataSource(object source, GridNeedDataSourceEventArgs e) 
    { 
        BindGrid(); 
    } 
private void BindGrid() 
    { 
        int count = 0; 
 
        FinancialPeriodManagerClient service = new FinancialPeriodManagerClient(); 
        grdFinancialPeriods.MasterTableView.FilterExpression = string.Empty; 
        Prd[] list = service.GetAllFinancialPeriods(out count, grdFinancialPeriods.PageSize, 
            grdFinancialPeriods.MasterTableView.CurrentPageIndex * grdFinancialPeriods.PageSize, 
           (Behsaman.FilterItemList)Session["filterItemList"], 
           (SortItem)Session["SortExpression"]); 
 
        grdFinancialPeriods.DataSource = list; 
        grdFinancialPeriods.VirtualItemCount = count; 
        grdFinancialPeriods.DataBind(); 
        service.Close(); 
         
    } 

and service function is :

public List<Prd> GetAllFinancialPeriods(int maximumRows, int startRowIndex, 
            FilterItemList filterItemList, SortItem sortItem, out int count) 
        { 
            var query = (from prd in Generals.Db.Prds 
                         select prd); 
 
            query = GetFilterQuery(query, filterItemList); 
            query = GetSortQuery(query, sortItem); 
            count = query.Count(); 
            return query.Skip(startRowIndex).Take(maximumRows).ToList().Deserialize<Prd>(); 
        } 


when I group a column just current page grouped, How can I group all data?
Tsvetoslav
Telerik team
 answered on 02 Sep 2009
1 answer
177 views
Hello,

I am using RadUpload in a ascx page in a DNN module. The same code works perfectly fine in a aspx page. I have registered RadUpload and RadProgressManager in the config file.

<httpModules>
.
.
.
<add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" />
</httpModules>

<httpHandlers>
.
.
.
<add verb="*" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler, Telerik.Web.UI" validate="false" />
</httpHandlers>

<modules>
.
.
.
<add name="RadUploadModule" type="Telerik.WebControls.RadUploadHttpModule, RadUpload.Net2" />
</modules>

<handlers>
.
.
      <add name="Telerik.RadUploadProgressHandler.ashx_*" path="Telerik.RadUploadProgressHandler.ashx" verb="*" type="Telerik.Web.UI.Upload.RadUploadProgressHandler, Telerik.Web.UI" preCondition="integratedMode,runtimeVersionv2.0" /></handlers>
--------------------------------------------------------------
In the properties window, beneath the "ID" property of RadUpload, there is a property "IsUploadModuleRegistered" appearing and the value of it is "Object reference not set to an instance of an object". So, I am sure that there is some problem in the config file. I don't know what that is. Please provide me your suggestions.

Thank you,
Deepa


Schlurk
Top achievements
Rank 2
 answered on 02 Sep 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?