Telerik Forums
UI for ASP.NET AJAX Forum
4 answers
367 views
Hi,

Is it possible to open a RadContextMenu on RadButton left click only? I was only able to open the context menu with right click but not with left click.

Thanks in advance,
Michael Pinheiro
Shukhrat Nekbaev
Top achievements
Rank 1
 answered on 06 Mar 2012
3 answers
193 views
hi there,

i have a problem with radgrid pageIndexChanged. i have a combobox where allow user to select state. when user select state, the radgrid will display all the data of selected state. but, when user want to go to next page, the data on grid was not based on the previous selected. i'll try to do PageIndexChanged event but error appear which is
'RadGrid1_PageIndexChanged' is not a member of 'ASP.default_aspx'."

my code is like below:

aspx

<telerik:RadGrid ID="RadGrid1" runat="server" CellSpacing="0" 
        DataSourceID="SqlDataSource1" GridLines="None" AllowFilteringByColumn="True" AllowSorting="True" PageSize="15"
            ShowFooter="True" AllowPaging="True" OnPageIndexChanged = "RadGrid1_PageIndexChanged" >

vb.net

Private Sub RadGrid1_PageIndexChanged(sender As Object, e As Telerik.Web.UI.GridPageChangedEventArgs) Handles RadGrid1.PageIndexChanged
        RadGrid1.CurrentPageIndex = e.NewPageIndex

'bind data based on selected state
        Dim str As String = "select username, name, levelAccess, description, status from [user] inner join par_branch on par_branch.id =         [user].branchNo where id = '" & RadComboBox2.SelectedItem.Value & "'"
        SqlDataSource1.SelectCommand = str
        SqlDataSource1.DataBind()
        RadGrid1.DataBind()
        RadGrid1.Visible = True

actually i always faced the same error for others telerik components. what it is about? anyone can help me?  


thanks in advanced.. 
Tsvetina
Telerik team
 answered on 06 Mar 2012
1 answer
50 views
Hi,

We were asked to perform functional test using QTP on an internally developed application. Currently, we are facing difficult time with the content type for return page. QTP consultant told us the issue we are facing was due to the wrong content type in the return page from the Telerik controller used in the code.

We are using the AJAX controls and Telerik always return content type of text/javascript for page with mixture of html and javascript. Someone told us the the correct content type should be text/html for this scenario.  

Is this a bug of Telerik? What we should do in order to get the correct content type?

By
Frustrated QA
Rumen
Telerik team
 answered on 06 Mar 2012
1 answer
182 views
I remember a few releases ago I was able to get an "SQL" where clause from the filter criteria. Has this functionality been moved? I see the save settings option but I don't think my users will understand base64. I would love to be able to use the filter do generate custom reports.
Tsvetina
Telerik team
 answered on 06 Mar 2012
3 answers
265 views
Hi,
When trying to access my site I am getting the error below.
From what I can find it seems to be related to a Telerik version mismatch.

Following previous examples, they suggested I look for <add path="Telerik.Web.UI.DialogHandler.aspx" verb="*" type="Telerik.Web.UI.DialogHandler, Telerik.Web.UI, Version=2007.2.1107.0, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
        validate="false" />
      <add path="Telerik.Web.UI.SpellCheckHandler.axd" verb="*" type="Telerik.Web.UI.SpellCheckHandler, Telerik.Web.UI, Version=2007.2.1107.0, Culture=neutral, PublicKeyToken=121fae78165ba3d4"
        validate="false" />
in my web.config file although these two entries do not exist.
I tried adding them into my web.config file but it didn't make any difference.

Could someone please point me in the right direction?
I really need to get this site back up and running.

Thanks!
Shaun

Server Error in '/' Application.

Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.FileLoadException: Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Assembly Load Trace: The following information can be helpful to determine why the assembly 'Telerik.Web.UI' could not be loaded.

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

Stack Trace:

[FileLoadException: Could not load file or assembly 'Telerik.Web.UI' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]

[FileLoadException: Could not load file or assembly 'Telerik.Web.UI, Version=2011.1.519.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]
   System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
   System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +416
   System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +166
   System.Reflection.Assembly.Load(String assemblyString) +35
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +190

[ConfigurationErrorsException: Could not load file or assembly 'Telerik.Web.UI, Version=2011.1.519.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +11224200
   System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +388
   System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +232
   System.Web.Configuration.AssemblyInfo.get_AssemblyInternal() +48
   System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +210
   System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +76
   System.Web.Compilation.CodeDirectoryCompiler.GetCodeDirectoryAssembly(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories, Boolean isDirectoryAllowed) +11213378
   System.Web.Compilation.BuildManager.CompileCodeDirectory(VirtualPath virtualDir, CodeDirectoryType dirType, String assemblyName, StringSet excludedSubdirectories) +185
   System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +551

[HttpException (0x80004005): Could not load file or assembly 'Telerik.Web.UI, Version=2011.1.519.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]
   System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +76
   System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +1012
   System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +1025

[HttpException (0x80004005): Could not load file or assembly 'Telerik.Web.UI, Version=2011.1.519.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11318198
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88
   System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4348404
Shaun
Top achievements
Rank 1
 answered on 06 Mar 2012
11 answers
1.1K+ views
We upgraded to 4.0 and now none of our filtering works correctly.  I've set EnableLinqExpressions="false" on one page and solved the problems on that page/grid.  Will we have to through our whole app and add & set this tag to every grid or is there a work around????  Additionally, there now seems to be issues with Grid formatting and conflicts with css???  Any clues?  Thank you.
Tsvetina
Telerik team
 answered on 06 Mar 2012
1 answer
34 views
I have some buttons that update a database and I have them in an ajax panel. When a user clicks the button it inserts a value in the database and then returns to change the command argument from the button as well as the style associated with the button. Basically an on off button but the style is not changing after the update on a mobile device.

Are there any issues with the ajax panel being able to update the style on a mobile device?
Radoslav
Telerik team
 answered on 06 Mar 2012
1 answer
119 views
G'Day Guys,

When I try to type a field into the DataNavigateURLfields in the Configuration Manager it does not persist, yet it adds it to the source code. Makes it difficult to rely upon the Configuration Manager when values that it puts in the source code are not reflected in the Configuration Manager itself.  Even happens on a fresh project with one page and one RadGrid.

Here is a short YouTube clip to show what the problem is.

http://www.youtube.com/watch?v=H7i3Q2ckF-U&feature=youtu.be

Expand video to full size and it is viewable.

Cheers

Ian.
Marin
Telerik team
 answered on 06 Mar 2012
1 answer
39 views
We bring up a RadConfirm inside of a RadWindow and on an iPad, the RadWindow vertically stretches to about the height of the screen.  Since it does not move from the original offset, it forces the page to be taller than the screen.  Is there something I could be doing wrong to cause this?
Marin Bratanov
Telerik team
 answered on 06 Mar 2012
3 answers
95 views
Greetings,


In my radgrid i have a column displaying "En cours" or " Nouveau" .
This is the column in question:

<telerik:GridBoundColumn DataField="EtatIncident.nomEtatIncident" HeaderText="Etat du ticket"
    SortExpression="Etatduticket" UniqueName="EtatDuTicket">
</telerik:GridBoundColumn>

I need the text "En cours" to be displayed in green

This is my try which unfortunately does not work:

protected void RadGrid2_ItemDataBound(object sender, GridItemEventArgs e)
{
    foreach (Telerik.Web.UI.GridDataItem dataItem in RadGrid2.MasterTableView.Items)
    {
        Label lbl = (Label)dataItem.FindControl("EtatDuTicket");
 
       if (lbl.Text == " En cours") { lbl.ForeColor = Color.Green; }
    }
}

Thanks in advance for your help
Ronan BARRANGER
Top achievements
Rank 1
 answered on 06 Mar 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?