Telerik Forums
UI for ASP.NET AJAX Forum
1 answer
225 views
Hi,
I am trying to sign Telerik dlls with my own snk files and i am getting error about the internal objects: eg: Telerik.Web.UI.Functions.TFunc<System.Web.UI.Control,object>' is inaccessible due to its protection level.

I followed the this instructions:
Replace C:\RadControlsAjaxSource\Telerik.Web.UI\Telerik.Web.snk with your SNK file.
2. Replace C:\RadControlsAjaxSource\Telerik.Web.Design\Telerik.Web.snk with your SNK file.
3. Now you need to replace the public key blob and token of the original SNK file with yours.
4. Start Visual Studio command prompt and change the current directory to C:\RadControlsAjaxSource\Telerik.Web.UI: cd C:\RadControlsAjaxSource\Telerik.Web.UI\
5. Extract the public key from the SNK file by running: sn -p Telerik.Web.snk public.key
6. Now display the public key and token: sn -tp public.key
Copy the public key
8. Open C:\RadControlsAjaxSource\Telerik.Web.UI\Properties\AssemblyInfo.cs and find the following line: [assembly: InternalsVisibleTo("Telerik.Web.Design, PublicKey=0024000004800000940000000602000000240000525341310004000001000100d7f4574851eb0ea83c0b26dfc9d3569e654c8b902eaab99858ddb7aa4b9b6810f74571d9b572b93c089f3b86a74fe1f72ead3eafc6c928ff4576e3bc49904d1360f6776898125ecb928a5365968d9d1931987e382c0110a944139aba1035d00d9cfe84803a8d02ae8d38f9709fd910558bb1233840b3eaa2875b1f35d024b3")]
9. Replace the PublicKey attribute with the value copied from the previous step. Keep in mind the SN tool generates the public key in a multiline format – you need to remove the newlines beforehand.
10. Copy the public key token from the previous screen (the SN -tp output)
11. Open C:\RadControlsAjaxSource\Telerik.Web.UI\DesignerInfo.cs
12. Replace “29ac1a93ec063d92” (without quotes) with the new public key token returned by the SN tool.

But, i still getting errors about it?
Can you please advise..
Rosen
Telerik team
 answered on 18 Feb 2010
3 answers
116 views
hi guys.
i have nested grid view. and i wanna insert an item to Detail table.
i have a Button And a Text box in MasterTable

this is my code:
<table border="0px" cellpadding="0px" cellspacing="0px"
                           <tr> 
                           <td align="right"
                               <asp:TextBox Style="direction:rtl" ID="txtComment" ToolTip='<%# Eval("SharedUserID") %>' runat="server" TextMode="MultiLine" Width="200" Rows="1"></asp:TextBox> 
                           </td> 
                           <td valign="bottom" align="right"
                               <asp:Button ID="btnComment"  
                               CommandName="DropComment" 
                               CommandArgument='<%# Eval("SharedUserID") %>' 
                               runat="server" Text="ارسال کامنت" /> 
                           </td> 
                           </tr> 
                           </table> 
                    </td> 
                    </tr> 
                    </table> 

this code is in my Master Table.
i can access to CommandName and Argument in  ItemCommand.
how i can access to valu of Text box?

tnx 4 ur attention 

Regards...
Farshad heidary
Top achievements
Rank 1
 answered on 18 Feb 2010
1 answer
150 views
Hello,

http://www.telerik.com/help/aspnet-ajax/different-configuration-files-for-different-webs.html describes how to assign different configuration files for different sharepoint webs. Is it also possible to supply configuration files for an entire site collection? Putting the site collection ID inside the curly braces (i.e. ConfigFile{7c11c45a-500e-4210-b4d3-1734e51782a7}.xml) does not work. I hoped there would be some form of inheritance, but configuration files for the root web do not seem to propagate to sub-sites.

Is there a way to make this work?

Thanks in advance,
Matthijs Wensveen
Stanimir
Telerik team
 answered on 18 Feb 2010
2 answers
106 views
Hi... Im fiddling around with the fileexplorer. It works fine when i place the component on my Default.aspx. But when I put it in a usercontrol i get a JS error Pane is null or not an object. I cant do anything with the component and it is not drawn correct (missing icons, borders etc.

Is there a workaround?
Fiko
Telerik team
 answered on 18 Feb 2010
3 answers
242 views
Hi ,

I would like to know if it is possible to drop something on RadTreeView ? 

All samples demonstrating only  drag and drop between rad trees or from tree to HTML or other rad control .


What I need is drop something on rad tree .

Thanks in advance ! 
Yana
Telerik team
 answered on 18 Feb 2010
3 answers
258 views
Hi,
Please tell me how the File Explorer refresh it self when a delete event or upload Event or Rename Event occurs. Actually i have added a new Column called Sequence which is displaying a value from database. Then i added a contextMenuItem which increments or decrements the sequence value in database. The whole functionality is being achived but i have to refresh the control from toolbar in order to see the most resent value of the folders. kindly tell me some way to refresh the file explorer and also functionality should not be disturbed. I think there should be some way to do this.

Regards,
Samee Javaid
Fiko
Telerik team
 answered on 18 Feb 2010
5 answers
201 views
Hi,

All the examples show spell checking occurring when a user clicks on a button.

I have a text box which I would like to be spell checked as the user writes.  If the word does not appear in the dictionary, it underlines the word in red. 

Is this implemented in RadSpell or is there a way of doing this?

Thanks.
Rumen
Telerik team
 answered on 18 Feb 2010
4 answers
251 views
I have several columns in my grid that are not working properly. When I add a ColumnEditorID my application throws an error when I try to enter edit mode. I do have one column that is of type GridNumericColumn that does have a ColumnEditorID assigned that is working (I'm trying to use the same one). They are both of type money in the database. The only difference between the two is the one that does not work comes through a view while the one that does work is pulled straight from a table.

Error Message:
Source: System.Web  
Message: Specified argument was out of the range of valid values. Parameter name: index  
Stack trace: at System.Web.UI.ControlCollection.get_Item(Int32 index) at Telerik.Web.UI.GridNumericColumnEditor.LoadControlsFromContainer() at Telerik.Web.UI.GridColumnEditorBase.InitializeFromControl(Control containerControl) at Telerik.Web.UI.GridBoundColumn.OnDataBindColumn(Object sender, EventArgs e) at System.Web.UI.Control.OnDataBinding(EventArgs e) at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBind() at System.Web.UI.Control.DataBindChildren() at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBind() at Telerik.Web.UI.GridItem.SetupItem(Boolean dataBind, Object dataItem, GridColumn[] columns, ControlCollection rows) at Telerik.Web.UI.GridItemBuilder.InitializeItem(Int32 dataSourceIndex, String& nextItemHierarchicalIndex, Boolean& itemIsInEditMode) at Telerik.Web.UI.GridItemBuilder.CreateItems(GridGroupingContext group) at Telerik.Web.UI.GridTableView.CreateItems(IEnumerator enumerator, GridColumn[] columns, ControlCollection controls) at Telerik.Web.UI.GridTableView.CreateControlHierarchy(Boolean useDataSource) at Telerik.Web.UI.GridTableView.CreateChildControls(IEnumerable dataSource, Boolean useDataSource) at System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding(IEnumerable data) at System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback(IEnumerable data) at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) at System.Web.UI.WebControls.DataBoundControl.PerformSelect() at Telerik.Web.UI.GridTableView.PerformSelect() at System.Web.UI.WebControls.BaseDataBoundControl.DataBind() at Telerik.Web.UI.GridTableView.DataBind() at Telerik.Web.UI.GridTableView.Rebind() at Telerik.Web.UI.GridCommandEventArgs.ExecuteCommand(Object source) at Telerik.Web.UI.RadGrid.OnBubbleEvent(Object source, EventArgs e) at System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) at Telerik.Web.UI.GridItem.OnBubbleEvent(Object source, EventArgs e) at Telerik.Web.UI.GridItem.FireCommandEvent(String commandName, Object commandArgument) at Telerik.Web.UI.RadGrid.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)   
 
Column:
<telerik:GridNumericColumn   
   DataField="SellerPaidBuyerCost"   
   DataFormatString="{0:C}" 
   HeaderText="Seller Paid Buyer Cost"   
   UniqueName="SellerPaidBuyerCost">  
   <HeaderStyle  HorizontalAlign="Center" Width="100px"></HeaderStyle> 
   <ItemStyle HorizontalAlign="Right"></ItemStyle> 
</telerik:GridNumericColumn> 
GridNumericColumnEditor:
<telerik:GridNumericColumnEditor ID="GridNumericColumnEditor1" NumericTextBox-EnabledStyle-HorizontalAlign="Right" runat="server" NumericTextBox-Width="75px">  
    <NumericTextBox runat="server">  
        <NumberFormat DecimalDigits="2" /> 
     </NumericTextBox> 
</telerik:GridNumericColumnEditor> 
Iana Tsolova
Telerik team
 answered on 18 Feb 2010
1 answer
69 views
hi

i wanna make my own skin for tabstrip

is there any tutorial on making 1?

css, img etc...

thanks in advance

regards
webster
Shinu
Top achievements
Rank 2
 answered on 18 Feb 2010
5 answers
158 views
hi all,
i have a RadUpload control in a RadGrid. i added a CustomValidator, i'm validating file extensions in a javascript function, and i need to validate the file size in a server side function bcoz this can't be validated on client side except if i had a RadProgressArea, which i don't (like this example http://www.telerik.com/help/aspnet-ajax/upload_howtoclientfilesize.html).

so i need to add "OnServerValidate" function to the CustomValidator, the problem is how can i access the RadUpload control in this function??

am i in the correct way, or the whole approach is not applicable? how can i do it?

thnx in advance
FreshOne
Top achievements
Rank 1
 answered on 18 Feb 2010
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?