Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
294 views
Hi Telerik,
I am using the demo Teleric Editor.In that the dll Telerik.QuickStart.Header can not be found. What can i do.......
Rumen
Telerik team
 answered on 28 Jan 2011
24 answers
534 views

Hello,

after i installed Q1 2009 beta all my asp.net applications give me the following error:

 

Errore server nell'applicazione '/AJAXEnabledWebSite1'.

System.ServiceModel.Diagnostics.DiagnosticTrace..ctor(System.ServiceModel.Diagnostics.TraceSourceKind, System.String, System.String)

Descrizione: Eccezione non gestita durante l'esecuzione della richiesta Web corrente. Per ulteriori informazioni sull'errore e sul suo punto di origine nel codice, vedere l'analisi dello stack.

Dettagli eccezione: System.MethodAccessException: System.ServiceModel.Diagnostics.DiagnosticTrace..ctor(System.ServiceModel.Diagnostics.TraceSourceKind, System.String, System.String)

Errore nel codice sorgente:

Durante l'esecuzione della richiesta Web corrente รจ stata generata un'eccezione non gestita. Per informazioni sull'origine e la posizione dell'eccezione, vedere l'analisi dello stack dell'eccezione riportata di seguito.

Analisi dello stack:

[MethodAccessException: System.ServiceModel.Diagnostics.DiagnosticTrace..ctor(System.ServiceModel.Diagnostics.TraceSourceKind, System.String, System.String)]
   System.ServiceModel.DiagnosticUtility.InitDiagnosticTraceImpl(TraceSourceKind sourceType, String traceSourceName) +0
   System.ServiceModel.DiagnosticUtility.InitializeTracing() +28
   System.ServiceModel.DiagnosticUtility..cctor() +77

[TypeInitializationException: L'inizializzatore di tipo di 'System.ServiceModel.DiagnosticUtility' ha generato un'eccezione.]
   System.ServiceModel.DiagnosticUtility.get_ShouldTraceVerbose() +0
   System.ServiceModel.Configuration.ConfigurationHelpers.UnsafeGetAssociatedSection(ContextInformation evalContext, String sectionPath) +145
   System.ServiceModel.Configuration.ConfigurationHelpers.UnsafeGetSection(String sectionPath) +27
   System.ServiceModel.Configuration.ServiceHostingEnvironmentSection.UnsafeGetSection() +30
   System.ServiceModel.HostingManager.LoadConfigParameters() +77
   System.ServiceModel.HostingManager..ctor() +139
   System.ServiceModel.ServiceHostingEnvironment.EnsureInitialized() +284
   System.ServiceModel.ServiceHostingEnvironment.OnEnsureInitialized(Object state) +23
   System.ServiceModel.PartialTrustHelpers.PartialTrustInvoke(ContextCallback callback, Object state) +94
   System.ServiceModel.ServiceHostingEnvironment.SafeEnsureInitialized() +65
   System.ServiceModel.Activation.HttpModule.ProcessRequest(Object sender, EventArgs e) +72
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +167
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +117
 

I installed the beta in another machine and the error is the same!

Do you have a solution?

Thanks

--silvano

Arunkumar
Top achievements
Rank 1
 answered on 28 Jan 2011
1 answer
173 views
In Chrome
$telerik.isChrome = true
$telerik.isSafari = true
$telerik.isSafari2 = false
$telerik.isSafari3 = false
$telerik.isSafari4 = false
Kamen Bundev
Telerik team
 answered on 28 Jan 2011
3 answers
117 views

 

Hello,

Upon selecting an item from a dropdown, two rad popup windows are opened

Both the window opens the same page

Upon clicking Cancel button in the popup only one window should be closed intead of both

Is there any workaround available?

Thank you

Regards
Raj
Tsvetina
Telerik team
 answered on 28 Jan 2011
2 answers
116 views
Hi,

I am trying to upgrade an existing application from various very old versions of Telerik controls to the latest.  I have the following Javascript function that gives me the "Object doesn't support this property or method".

var combo = <%= RadComboBox1.ClientID %>;
    var userControlId = '<%= ID %>';
    var selectionSetUrl = "../SelectionSets/NetworkSet.aspx";
    var selectionSetType = '<%= Fox.Fbc.Rds.RdsWeb.Interfaces.SelectionSetTypeCode.NET.ToString() %>';
      
    EditSelectionSetInModalDialogHelper(selectionSetUrl, selectionSetType, userControlId, combo.GetText());

According to the documentation GetText is supposed to be replaced with get_text.  So, I replace the last line with this one:

EditSelectionSetInModalDialogHelper(selectionSetUrl, selectionSetType, userControlId, combo.get_text());

And still get the same error. 

Please help.

Thanks,
Olga

Kalina
Telerik team
 answered on 28 Jan 2011
1 answer
116 views
So I have an radgrid, which is grouping by Month,Year.
I want to display information for each month on a separate page.
I attached file.
 How i can achieve this. My code is looking like this


    <telerik:RadGrid ID="rgMatches" runat="server" AutoGenerateColumns="False" ShowGroupPanel="True" PageSize="1">
        <MasterTableView AllowSorting="true">
            <RowIndicatorColumn>
                <HeaderStyle Width="20px"></HeaderStyle>
            </RowIndicatorColumn>
            <ExpandCollapseColumn>
                <HeaderStyle Width="20px"></HeaderStyle>
            </ExpandCollapseColumn>
            <Columns>
                <telerik:GridTemplateColumn UniqueName="OrgDetails" HeaderText="REC" SortExpression="fldOrgName">
                    <ItemTemplate>
                        <div id="divRecInfo">
                            <asp:Label ID="lblRecInfo" runat="server" Text='<%#DataBinder.Eval(Container.DataItem, "fldOrgName")%>'></asp:Label>&nbsp;&nbsp;<img
                                id="imgRecInfo" runat="server" src="../icons/magnifier.png" alt="Hover over for REC Address"
                                style="margin: auto;" />
                        </div>
                    </ItemTemplate>
                </telerik:GridTemplateColumn>
                <telerik:GridBoundColumn DataField="FldMeetingReference" HeaderText="Meeting Reference"
                    SortExpression="FldMeetingReference" UniqueName="FldMeetingReference">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="FldMeetingTitle" HeaderText="Title" SortExpression="FldMeetingTitle"
                    UniqueName="FldMeetingTitle">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="FldMeetingcutoffdate" DataType="System.DateTime"
                    HeaderText="Cutoff Date" SortExpression="FldMeetingcutoffdate" UniqueName="FldMeetingcutoffdate"
                    DataFormatString="{0:d}">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="FldMeetingstartDate" DataType="System.DateTime"
                    HeaderText="Meeting Date" SortExpression="FldMeetingstartDate" UniqueName="FldMeetingstartDate">
                </telerik:GridBoundColumn>
                <telerik:GridBoundColumn DataField="SlotCount" DataType="System.Int32" HeaderText="Slots Left"
                    ReadOnly="True" SortExpression="SlotCount" UniqueName="SlotCount">
                </telerik:GridBoundColumn>       
            </Columns>
            <GroupByExpressions>
                <telerik:GridGroupByExpression>
                    <GroupByFields>
                        <telerik:GridGroupByField FieldName="GroupDateYear" HeaderText="Submission Closing Date Year"
                            SortOrder="Ascending" />
                        <telerik:GridGroupByField FieldName="GroupDateMonth" HeaderText="Submission Closing Date Month"
                            SortOrder="Ascending" />
                    </GroupByFields>
                    <SelectFields>
                        <telerik:GridGroupByField FieldName="GroupDateYear" HeaderText="Submission Closing Date Year" />
                        <telerik:GridGroupByField FieldName="GroupDateMonthName" HeaderText="Submission Closing Date Month" />
                    </SelectFields>
                </telerik:GridGroupByExpression>
            </GroupByExpressions>
            <SortExpressions>
                <telerik:GridSortExpression FieldName="GroupDateMonth" SortOrder="Ascending" />
                <telerik:GridSortExpression FieldName="FldMeetingstartDate" SortOrder="Ascending" />
            </SortExpressions>
        </MasterTableView>
        <GroupingSettings CaseSensitive="False" ShowUnGroupButton="True" />
        <ClientSettings AllowDragToGroup="True">
        </ClientSettings>
    </telerik:RadGrid>
Tsvetoslav
Telerik team
 answered on 28 Jan 2011
7 answers
225 views
Hi,

I am using radgrid and also nestedviewtemplate into radgrid. i am using export to PDF and EXCEL. but exporting only grid values not nested template value. i want to export nestedview template also.

Please see the attached the image. please give me solution for this issues.


Thanks,
Dhamu.
Princy
Top achievements
Rank 2
 answered on 28 Jan 2011
1 answer
128 views
Could you send me sample code to expand the column width to 300 for a nested edit form?

There is a master table and one child table / detail table.

Thanks,
jg
Princy
Top achievements
Rank 2
 answered on 28 Jan 2011
1 answer
199 views
Hi,
I am trying to hide and show RadComboBox.
But this code doesn't seem to be working. I checked in IE and FireFox. Thank you.





$
.ajax({  
            url
: applicationPath + "/test/Test.svc/GetResultById",  
            type
: "POST",  
            dataType
: "json",  
            data
: '{"sId":' + sender.get_value() + '}',  
            contentType
: "application/json; charset=utf-8",  
            success
: function(result)  
             
{  
                 
var combo = "<%= RadComboBox1.ClientID %>"); 
 
                 
if(result.d == false)  
                 
{  
 
                    combo
.hideDropDown();  
                 
}  
                 
else 
                 
{ 
                    combo
.showDropDown(); 
                 
} 
             
}        
nav100
Top achievements
Rank 1
 answered on 27 Jan 2011
1 answer
107 views

in my button click event i have:

StringBuilder strTXTFileBuilder = new StringBuilder();
Response.Clear();
Response.AddHeader("content-disposition", "attachment;filename="ExportResult.txt");
Response.Charset = "";
strTXTFileBuilder.Append ("FirstItem:")...... // code to populate the stringbuilder
Response.ContentType = "application/vnd.text";
StringWriter stringWrite = new StringWriter();
HtmlTextWriter htmlWrite = new HtmlTextWriter(stringWrite);
Response.Write(strTXTFileBuilder.ToString());
Response.End();

it works without RadAjaxLoadingPanel. Once I put onto the page a RadAjaxLoadingPanel, when i click on the button again i get error:
Line: 6
Error: Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response filters, HttpModules, or server trace is enabled.
Details: Error parsing near '


any idea what am i doing wrong? please help
thanks in advance
Daniel
Telerik team
 answered on 27 Jan 2011
Narrow your results
Selected tags
Tags
+? more
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Bohdan
Top achievements
Rank 3
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Elliot
Top achievements
Rank 1
Iron
Iron
Iron
Sunil
Top achievements
Rank 1
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?