This one is complicated even to explain. I have .aspx page in my project, which uses JSON to load some parts of page. In old version of this page, I have text area, which was replaced with fckeditor using javascript. Now, I am trying to change old fckeditor with new RAD editor.
My problem is, that when I change textarea to radeditor, I get this error :
if (!element) throw Error.argument('element', Sys.Res.createNoDom);
When editor should appear, on FF4, I see unconfigured editor, which do not responds to any of my actions, on IE8 - text area without toolbar.
Any ideas how to make this work?
<telerik:AjaxSetting AjaxControlID="cboCountry">
<UpdatedControls>
<telerik:AjaxUpdatedControl ControlID="cboStates" />
<telerik:AjaxUpdatedControl ControlID="cboProduct" />
</UpdatedControls>
</telerik:AjaxSetting>
<
telerik:RadAjaxLoadingPanel
ID
=
"RadAjaxLoadingPanel1"
runat
=
"server"
Skin
=
"Office2007"
meta:resourcekey
=
"RadAjaxLoadingPanel1Resource1"
/>
<
telerik:RadCodeBlock
ID
=
"RadCodeBlock2"
runat
=
"server"
>
<
script
type
=
"text/javascript"
>
function showNextItem(clickedButton, rotator, direction) {
rotator.showNext(direction);
}
</
script
>
</
telerik:RadCodeBlock
>
<
telerik:RadAjaxPanel
ID
=
"radAjaxPanel"
runat
=
"server"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
HorizontalAlign
=
"NotSet"
meta:resourcekey
=
"radAjaxPanelResource1"
>
<
telerik:RadDataPager
ID
=
"RadDataPager2"
runat
=
"server"
PagedControlID
=
"RadListView1"
Width
=
"685px"
meta:resourcekey
=
"RadDataPager2Resource1"
>
<
Fields
>
<
telerik:RadDataPagerButtonField
FieldType
=
"FirstPrev"
/>
<
telerik:RadDataPagerButtonField
FieldType
=
"Numeric"
/>
<
telerik:RadDataPagerButtonField
FieldType
=
"NextLast"
/>
<
telerik:RadDataPagerPageSizeField
PageSizeText
=
"Page size: "
/>
<
telerik:RadDataPagerGoToPageField
CurrentPageText
=
"Page: "
TextBoxWidth
=
"15"
meta:resourcekey
=
"RadDataPagerGoToPageFieldResource1"
/>
<
telerik:RadDataPagerTemplatePageField
>
<
PagerTemplate
>
<
div
style
=
"float: right"
>
<
b
>Items
<
asp:Label
runat
=
"server"
ID
=
"CurrentPageLabel"
Text="<%# Container.Owner.StartRowIndex+1 %>"
meta:resourcekey="CurrentPageLabelResource1" />
to
<
asp:Label
runat
=
"server"
ID
=
"TotalPagesLabel"
Text="<%# Container.Owner.TotalRowCount > (Container.Owner.StartRowIndex+Container.Owner.PageSize) ? Container.Owner.StartRowIndex+Container.Owner.PageSize : Container.Owner.TotalRowCount %>"
meta:resourcekey="TotalPagesLabelResource1" />
of
<
asp:Label
runat
=
"server"
ID
=
"TotalItemsLabel"
Text="<%# Container.Owner.TotalRowCount %>"
meta:resourcekey="TotalItemsLabelResource1" />
<
br
/>
</
b
>
</
div
>
</
PagerTemplate
>
</
telerik:RadDataPagerTemplatePageField
>
</
Fields
>
</
telerik:RadDataPager
>
<
div
style="background-image: url('/images/detallefoto_2.jpg'); background-repeat: repeat-y;
text-align: center; width: 705px; clear: both">
<
telerik:RadListView
ID
=
"RadListView1"
Width
=
"540px"
AllowPaging
=
"True"
AllowCustomPaging
=
"True"
runat
=
"server"
AllowSorting
=
"false"
ItemPlaceholderID
=
"ProductsHolder"
OnPageIndexChanged
=
"RadListView1_PageIndexChanged"
DataKeyNames
=
"MatchID"
OnItemDataBound
=
"RadListView1_ItemDataBound"
OnNeedDataSource
=
"RadListView1_NeedDataSource"
meta:resourcekey
=
"RadListView1Resource1"
>
<
LayoutTemplate
>
<
asp:Panel
ID
=
"ProductsHolder"
runat
=
"server"
meta:resourcekey
=
"ProductsHolderResource1"
/>
<
br
style
=
"clear: both"
/>
</
LayoutTemplate
>
<
ItemTemplate
>
<
div
style
=
"clear: left;"
>
<
div
style="background-image: url('../images/faq_1.jpg'); background-repeat: no-repeat;
height: 54px; text-align: left">
<
div
style
=
"width: 549px; position: relative; left: 65px; top: 22px; height: 14px;"
>
<
asp:Label
ID
=
"MyData"
runat
=
"server"
Font-Bold
=
"True"
Font-Size
=
"Small"
ForeColor
=
"#999999"
Text='<%# Eval("NumberID") %>' meta:resourcekey="MyDataResource1"></
asp:Label
>
</
div
>
</
div
>
<
table
style
=
"width: 700px; padding: 0px; margin: 0px; height: 300px"
border
=
"0"
>
<
tr
>
<
td
width
=
"20"
>
<
asp:HyperLink
ID
=
"rightButtonHyperLink"
runat
=
"server"
ImageUrl
=
"~/images/flechaiz.jpg"
NavigateUrl
=
"#"
BorderWidth
=
"0px"
meta:resourcekey
=
"rightButtonHyperLinkResource1"
/>
</
td
>
<
td
valign
=
"top"
>
<
telerik:RadRotator
ID
=
"RadRotator1"
runat
=
"server"
Width
=
"100%"
ItemWidth
=
"230px"
RotatorType
=
"FromCode"
OnItemDataBound
=
"RadRotator1_ItemDataBound"
meta:resourcekey
=
"RadRotator1Resource1"
Height
=
"350px"
onitemclick
=
"RadRotator1_ItemClick"
AutoPostBack
=
"true"
EnableAjaxSkinRendering
=
"true"
FrameDuration
=
"2000"
onitemcreated
=
"RadRotator1_ItemCreated"
SlideShowAnimation-Duration
=
"4000"
>
<
ItemTemplate
>
<
div
>
<
table
style
=
"width: 100%;"
cellspacing
=
"0"
cellpadding
=
"0"
border
=
"0"
align
=
"center"
>
<
tr
>
<
td
colspan
=
"3"
style
=
"text-align: center"
>
<
div
style="background-position: 15px 12px; background-image: url('/images/foto_1.jpg');
height: 20px; background-repeat: no-repeat;">
</
div
>
<
div
style="padding: 5px 0px 5px 0px; background-position: 15px 0px; background-image: url('/images/foto_2.jpg');
background-repeat: repeat-y; text-align: center">
<
asp:HyperLink
ID
=
"photoImageButton"
runat
=
"server"
ImageUrl='<%# Eval("ThumbsPath") %>'
meta:resourcekey="photoImageButtonResource1" />
</
div
>
<
div
style="background-position: 15px -16px; background-image: url('/images/foto_3.jpg');
height: 19px; background-repeat: no-repeat;">
</
div
>
</
td
>
</
tr
>
<
tr
>
<
td
style
=
"text-align: center;"
>
<
asp:Label
ID
=
"Label2"
runat
=
"server"
Text='<%# Eval("Description") %>' meta:resourcekey="Label2Resource1"></
asp:Label
>
</
td
>
</
tr
>
<
tr
>
<
td
style
=
"text-align: center"
>
<
asp:HyperLink
ID
=
"userNameHyperLink"
runat
=
"server"
Text='<%# Eval("UserName") %>'
NavigateUrl='<%# "/member/" + Eval("UserName") %>' meta:resourcekey="userNameHyperLinkResource1" />
</
td
>
</
tr
>
<
tr
>
<
td
align
=
"center"
style
=
"text-align: center"
>
<
img
alt
=
""
src
=
"/images/vinetaverde.jpg"
height
=
"10"
width
=
"10"
/>
<
asp:Label
ID
=
"uploadedDateLabel"
runat
=
"server"
meta:resourcekey
=
"uploadedDateLabelResource1"
/>
</
td
>
</
tr
>
<
tr
>
<
td
style
=
"text-align: center"
>
<
asp:Label
ID
=
"numberVotesLabel"
runat
=
"server"
Text='<%# Eval("NumberVotes") %>' />
</
td
>
</
tr
>
<
tr
>
<
td
style
=
"text-align: center"
>
<
asp:ImageButton
ID
=
"voteNowImageButton"
runat
=
"server"
meta:resourcekey
=
"voteNowImageResource1"
CommandName
=
"Vote"
CommandArgument='<%# Eval("PhotographyID") %>' />
</
td
>
</
tr
>
<
tr
>
<
td
style
=
"text-align: center"
>
<
asp:ImageButton
ID
=
"denunceNowImageButton"
runat
=
"server"
meta:resourcekey
=
"denunceNowImageResource1"
CommandName
=
"Denounce"
CommandArgument='<%# Eval("PhotographyID") %>' />
</
td
>
</
tr
>
</
table
>
</
div
>
</
ItemTemplate
>
</
telerik:RadRotator
>
</
td
>
<
td
width
=
"20"
>
<
asp:HyperLink
ID
=
"leftButtonHyperLink"
runat
=
"server"
ImageUrl
=
"~/images/flechade.jpg"
NavigateUrl
=
"#"
BorderWidth
=
"0px"
meta:resourcekey
=
"leftButtonHyperLinkResource1"
/>
</
td
>
</
tr
>
</
table
>
</
div
>
</
ItemTemplate
>
</
telerik:RadListView
>
</
div
>
<
telerik:RadDataPager
ID
=
"RadDataPager1"
runat
=
"server"
PagedControlID
=
"RadListView1"
Width
=
"685px"
meta:resourcekey
=
"RadDataPager1Resource1"
>
<
Fields
>
<
telerik:RadDataPagerButtonField
FieldType
=
"FirstPrev"
/>
<
telerik:RadDataPagerButtonField
FieldType
=
"Numeric"
/>
<
telerik:RadDataPagerButtonField
FieldType
=
"NextLast"
/>
<
telerik:RadDataPagerPageSizeField
PageSizeText
=
"Page size: "
/>
<
telerik:RadDataPagerGoToPageField
CurrentPageText
=
"Page: "
TextBoxWidth
=
"15"
meta:resourcekey
=
"RadDataPagerGoToPageFieldResource2"
/>
<
telerik:RadDataPagerTemplatePageField
>
<
PagerTemplate
>
<
div
style
=
"float: right"
>
<
b
>Items
<
asp:Label
runat
=
"server"
ID
=
"CurrentPageLabel"
Text="<%# Container.Owner.StartRowIndex+1 %>"
meta:resourcekey="CurrentPageLabelResource2" />
to
<
asp:Label
runat
=
"server"
ID
=
"TotalPagesLabel"
Text="<%# Container.Owner.TotalRowCount > (Container.Owner.StartRowIndex+Container.Owner.PageSize) ? Container.Owner.StartRowIndex+Container.Owner.PageSize : Container.Owner.TotalRowCount %>"
meta:resourcekey="TotalPagesLabelResource2" />
of
<
asp:Label
runat
=
"server"
ID
=
"TotalItemsLabel"
Text="<%# Container.Owner.TotalRowCount %>"
meta:resourcekey="TotalItemsLabelResource2" />
<
br
/>
</
b
>
</
div
>
</
PagerTemplate
>
</
telerik:RadDataPagerTemplatePageField
>
</
Fields
>
</
telerik:RadDataPager
>
</
telerik:RadAjaxPanel
>
<%@ Page Title=
""
Language=
"VB"
MasterPageFile=
"~/Site.master"
CodePage=
"1254"
AutoEventWireup=
"false"
CodeFile=
"Satinalmalar.aspx.vb"
Inherits
=
"Satinalmalar"
%>
<%@ Register
Assembly
=
"Telerik.Web.UI"
Namespace
=
"Telerik.Web.UI"
TagPrefix=
"telerik"
%>
<asp:Content ID=
"Content1"
ContentPlaceHolderID=
"HeadContent"
runat=
"Server"
>
<style type=
"text/css"
>
.style1
{
width: 100%;
}
.style2
{
width: 29px;
}
.style3
{
}
.style4
{
width: 155px;
}
.style5
{
width: 256px;
}
</style>
</asp:Content>
<asp:Content ID=
"Content2"
ContentPlaceHolderID=
"MainContent"
runat=
"Server"
>
<h2>
Products
</h2>
<br />
<telerik:RadWindowManager ID=
"RadWindowManager1"
runat=
"server"
Skin=
"Sunset"
>
</telerik:RadWindowManager>
<telerik:RadGrid ID=
"RadGrid1"
runat=
"server"
AutoGenerateColumns=
"False"
CellSpacing=
"0"
DataSourceID=
"SqlDataSource_Faturalar"
GridLines=
"None"
AllowAutomaticDeletes=
"True"
AllowAutomaticInserts=
"True"
AllowAutomaticUpdates=
"True"
Width=
"469px"
Skin=
"Sunset"
>
<MasterTableView DataKeyNames=
"ID, Guidid"
DataSourceID=
"SqlDataSource_Faturalar"
CommandItemDisplay=
"Top"
EditMode=
"PopUp"
>
<CommandItemSettings ExportToPdfText=
"Export to PDF"
AddNewRecordText=
"Yeni kayıt"
ShowRefreshButton=
"False"
></CommandItemSettings>
<RowIndicatorColumn FilterControlAltText=
"Filter RowIndicator column"
>
<HeaderStyle Width=
"20px"
></HeaderStyle>
</RowIndicatorColumn>
<ExpandCollapseColumn FilterControlAltText=
"Filter ExpandColumn column"
>
<HeaderStyle Width=
"20px"
></HeaderStyle>
</ExpandCollapseColumn>
<Columns>
<telerik:GridBoundColumn DataField=
"ID"
DataType=
"System.Int32"
FilterControlAltText=
"Filter ID column"
HeaderText=
"ID"
ReadOnly
=
"True"
Visible=
"false"
SortExpression=
"ID"
UniqueName=
"ID"
>
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField=
"FirmaAdi"
FilterControlAltText=
"Filter FirmaAdi column"
HeaderText=
"FirmaAdi"
SortExpression=
"FirmaAdi"
UniqueName=
"FirmaAdi"
>
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField=
"FaturaNo"
FilterControlAltText=
"Filter FaturaNo column"
HeaderText=
"FaturaNo"
SortExpression=
"FaturaNo"
UniqueName=
"FaturaNo"
>
</telerik:GridBoundColumn>
<telerik:GridBoundColumn DataField=
"Tarih"
FilterControlAltText=
"Filter Tarih column"
HeaderText=
"Tarih"
SortExpression=
"Tarih"
UniqueName=
"Tarih"
>
</telerik:GridBoundColumn>
<telerik:GridEditCommandColumn CancelText=
"İptal"
EditText=
"Güncelle"
FilterControlAltText=
"Filter EditCommandColumn column"
InsertText=
"Ekle"
UpdateText=
"Kaydet"
>
</telerik:GridEditCommandColumn>
<telerik:GridButtonColumn CommandName=
"Delete"
ConfirmText=
"Kaydı silmek istediğinize eminmisiniz ?"
ConfirmTitle=
"KarinaMira"
FilterControlAltText=
"Filter column column"
UniqueName=
"column"
ConfirmDialogType=
"RadWindow"
Text=
"Sil"
>
</telerik:GridButtonColumn>
</Columns>
<EditFormSettings EditFormType=
"Template"
InsertCaption=
"Yeni Kayıt"
CaptionFormatString=
"Güncelleme"
>
<EditColumn FilterControlAltText=
"Filter EditCommandColumn column"
>
</EditColumn>
<FormTemplate>
<table class=
"style1"
>
<tr>
<td class=
"style2"
>
</td>
<td class=
"style3"
>
Firma Adı
</td>
<td>
<telerik:RadComboBox ID=
"RadComboBox1"
runat=
"server"
DataSourceID=
"SqlDataSource_Firmalar"
DataTextField=
"FirmaAdi"
DataValueField=
"Guidid"
EmptyMessage=
"Seçiniz"
Skin=
"Outlook"
OnDataBound=
"RadComboBox1_DataBound"
SelectedValue=
'<%# Bind("FirmaGuidid") %>'>
</telerik:RadComboBox>
<asp:RequiredFieldValidator ID=
"RequiredFieldValidator1"
runat=
"server"
ControlToValidate=
"RadComboBox1"
ErrorMessage=
"**"
Font-Bold=
"True"
Font-Size=
"Small"
ForeColor=
"#CC3300"
></asp:RequiredFieldValidator>
</td>
<td>
</td>
</tr>
<tr>
<td class=
"style2"
>
</td>
<td class=
"style3"
>
Fatura No
</td>
<td>
<asp:TextBox ID=
"TextBox2"
runat=
"server"
Text=
'<%# Bind("FaturaNo") %>'></asp:TextBox>
<asp:RequiredFieldValidator ID=
"RequiredFieldValidator5"
runat=
"server"
ControlToValidate=
"TextBox2"
ErrorMessage=
"**"
Font-Bold=
"True"
Font-Size=
"Small"
ForeColor=
"#CC3300"
></asp:RequiredFieldValidator>
</td>
<td>
</td>
</tr>
<tr>
<td class=
"style2"
>
</td>
<td class=
"style3"
>
Tarih
</td>
<td>
<asp:TextBox ID=
"TextBox3"
runat=
"server"
Text=
'<%# Bind("Tarih") %>'></asp:TextBox>
</td>
<td>
</td>
</tr>
<tr>
<td class=
"style2"
>
</td>
<td class=
"style3"
>
</td>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td class=
"style2"
>
</td>
<td class=
"style3"
colspan=
"2"
>
detay<br />
<telerik:RadGrid ID=
"RadGrid2"
runat=
"server"
AllowAutomaticDeletes=
"True"
OnNeedDataSource=
"RadGrid2_NeedDataSource"
OnUpdateCommand=
"RadGrid2_UpdateCommand"
OnInsertCommand=
"RadGrid2_InsertCommand"
OnItemCommand=
"RadGrid2_ItemCommand"
AutoGenerateColumns=
"False"
DataKeyNames=
"No"
OnDeleteCommand=
"RadGrid2_DeleteCommand"
CellSpacing=
"0"
GridLines=
"None"
>
<MasterTableView AutoGenerateColumns=
"False"
CommandItemDisplay=
"Top"
EditMode=
"PopUp"
ShowHeadersWhenNoRecords=
"true"
>
<CommandItemSettings ExportToPdfText=
"Export to PDF"
AddNewRecordText=
"Yeni fatura kalemi"
ShowRefreshButton=
"False"
/>
<RowIndicatorColumn FilterControlAltText=
"Filter RowIndicator column"
>
</RowIndicatorColumn>
<ExpandCollapseColumn FilterControlAltText=
"Filter ExpandColumn column"
>
</ExpandCollapseColumn>
<Columns>
<telerik:GridTemplateColumn DataField=
"No"
DataType=
"System.Int32"
FilterControlAltText=
"Filter No column"
Visible=
"false"
HeaderText=
"No"
SortExpression=
"No"
UniqueName=
"No"
>
<EditItemTemplate>
<asp:TextBox ID=
"NoTextBox_"
runat=
"server"
Width=
"40px"
Text=
'<%# Bind("No") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID=
"NoLabel"
runat=
"server"
Text=
'<%# Eval("No") %>'></asp:Label>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn DataField=
"Urun"
FilterControlAltText=
"Filter Urun column"
HeaderText=
"Ürün"
SortExpression=
"Urun"
UniqueName=
"Urun"
>
<EditItemTemplate>
<telerik:RadComboBox ID=
"RadComboBoxUrun_"
runat=
"server"
DataSourceID=
"SqlDataSource_Urunler"
DataTextField=
"UrunAdi"
DataValueField=
"Guidid"
EmptyMessage=
"Seçiniz"
Skin=
"Outlook"
OnDataBound=
"RadComboBoxUrun_DataBound"
SelectedValue=
'<%# Bind("UrunGuidid") %>'>
</telerik:RadComboBox>
<asp:RequiredFieldValidator ID=
"RequiredFieldValidator5_"
runat=
"server"
ControlToValidate=
"RadComboBoxUrun_"
ErrorMessage=
"**"
Font-Bold=
"True"
Font-Size=
"Small"
ForeColor=
"#CC3300"
></asp:RequiredFieldValidator>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID=
"UrunLabel"
runat=
"server"
Text=
'<%# Eval("Urun") %>'></asp:Label>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn DataField=
"Miktar"
FilterControlAltText=
"Filter Miktar column"
HeaderText=
"Miktar"
SortExpression=
"Miktar"
UniqueName=
"Miktar"
>
<EditItemTemplate>
<asp:TextBox ID=
"MiktarTextBoxX"
runat=
"server"
Width=
"40px"
Text=
'<%# Bind("Miktar") %>'></asp:TextBox>
<asp:RequiredFieldValidator ID=
"RequiredFieldValidator6x"
runat=
"server"
ControlToValidate=
"MiktarTextBoxX"
ErrorMessage=
"**"
Font-Bold=
"True"
Font-Size=
"Small"
ForeColor=
"#CC3300"
></asp:RequiredFieldValidator>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID=
"MiktarLabel"
runat=
"server"
Text=
'<%# Eval("Miktar") %>'></asp:Label>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn DataField=
"Birim"
FilterControlAltText=
"Filter Birim column"
HeaderText=
"Birim"
SortExpression=
"Birim"
UniqueName=
"Birim"
>
<EditItemTemplate>
<asp:TextBox ID=
"BirimTextBox_"
runat=
"server"
Width=
"40px"
ReadOnly
=
"true"
Text=
'<%# Bind("Birim") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID=
"BirimLabel"
runat=
"server"
Text=
'<%# Eval("Birim") %>'></asp:Label>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn DataField=
"BirimFiyat"
FilterControlAltText=
"Filter BirimFiyat column"
HeaderText=
"Birim Fiyat"
SortExpression=
"BirimFiyat"
UniqueName=
"BirimFiyat"
>
<EditItemTemplate>
<asp:TextBox ID=
"BirimFiyatTextBox_"
runat=
"server"
Width=
"40px"
Text=
'<%# Bind("BirimFiyat") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID=
"BirimFiyatLabel"
runat=
"server"
Text=
'<%# Eval("BirimFiyat") %>'></asp:Label>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridTemplateColumn DataField=
"ToplamFiyat"
FilterControlAltText=
"Filter ToplamFiyat column"
HeaderText=
"ToplamFiyat"
SortExpression=
"ToplamFiyat"
UniqueName=
"ToplamFiyat"
>
<EditItemTemplate>
<asp:TextBox ID=
"ToplamFiyatTextBox_"
runat=
"server"
Width=
"60px"
ReadOnly
=
"true"
Text=
'<%# Bind("ToplamFiyat") %>'></asp:TextBox>
</EditItemTemplate>
<ItemTemplate>
<asp:Label ID=
"ToplamFiyatLabel"
runat=
"server"
Text=
'<%# Eval("ToplamFiyat") %>'></asp:Label>
</ItemTemplate>
</telerik:GridTemplateColumn>
<telerik:GridEditCommandColumn CancelText=
"İptal"
EditText=
"Güncelle"
FilterControlAltText=
"Filter EditCommandColumn column"
InsertText=
"Ekle"
UpdateText=
"Kaydet"
>
</telerik:GridEditCommandColumn>
<telerik:GridButtonColumn CommandName=
"Delete"
ConfirmText=
"Kaydı silmek istediğinize eminmisiniz ?"
ConfirmTitle=
"KarinaMira"
FilterControlAltText=
"Filter column column"
UniqueName=
"column"
ConfirmDialogType=
"RadWindow"
Text=
"Sil"
>
</telerik:GridButtonColumn>
</Columns>
<EditFormSettings EditFormType=
"Template"
>
<EditColumn FilterControlAltText=
"Filter EditCommandColumn1 column"
UpdateText=
"Kaydet"
CancelText=
"İptal"
UniqueName=
"EditCommandColumn1"
>
</EditColumn>
<FormTemplate>
<table class=
"style1"
>
<tr>
<td class=
"style5"
>
Ürün
</td>
<td>
<telerik:RadComboBox ID=
"RadComboBoxUrun"
runat=
"server"
DataSourceID=
"SqlDataSource_Urunler"
DataTextField=
"UrunAdi"
DataValueField=
"Guidid"
EmptyMessage=
"Seçiniz"
OnDataBound=
"RadComboBoxUrun_DataBound"
SelectedValue=
'<%# Bind("UrunGuidid") %>' Skin="Outlook">
</telerik:RadComboBox>
<asp:RequiredFieldValidator ID=
"RequiredFieldValidator5"
runat=
"server"
ControlToValidate=
"RadComboBoxUrun"
ErrorMessage=
"**"
Font-Bold=
"True"
Font-Size=
"Small"
ForeColor=
"#CC3300"
></asp:RequiredFieldValidator>
</td>
<td>
</td>
</tr>
<tr>
<td>
<asp:TextBox ID=
"NoTextBox"
runat=
"server"
Text=
'<%# Bind("No") %>' Visible="false"
Width=
"40px"
></asp:TextBox>
</td>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td class=
"style5"
>
Miktar
</td>
<td>
<telerik:RadNumericTextBox ID=
"MiktarTextBox"
runat=
"server"
Width=
"40px"
Culture=
"tr-TR"
DbValue =
'<%# Bind("Miktar") %>'>
</telerik:RadNumericTextBox>
<asp:RequiredFieldValidator ID=
"RequiredFieldValidator6"
runat=
"server"
ControlToValidate=
"MiktarTextBox"
ErrorMessage=
"**"
Font-Bold=
"True"
Font-Size=
"Small"
ForeColor=
"#CC3300"
></asp:RequiredFieldValidator>
<asp:RangeValidator ID=
"RangeValidator1"
runat=
"server"
MinimumValue=
"0"
MaximumValue=
"999999999"
ErrorMessage=
"**"
Font-Bold=
"True"
Font-Size=
"Small"
ForeColor=
"#CC3300"
ControlToValidate=
"MiktarTextBox"
></asp:RangeValidator>
</td>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td class=
"style5"
>
Birim
</td>
<td>
<asp:TextBox ID=
"BirimTextBox"
runat=
"server"
Width=
"40px"
ReadOnly
=
"true"
Text=
'<%# Bind("Birim") %>'></asp:TextBox>
</td>
<td>
</td>
</tr>
<tr>
<td class=
"style5"
>
Birim Fiyat
</td>
<td>
<telerik:RadNumericTextBox ID=
"BirimFiyatTextBox"
runat=
"server"
dbvalue=
'<%# Bind("BirimFiyat") %>'
Culture=
"tr-TR"
Width=
"40px"
>
</telerik:RadNumericTextBox>
</td>
<td>
</td>
</tr>
<tr>
<td class=
"style5"
>
Toplam Fiyat
</td>
<td>
<asp:TextBox ID=
"ToplamFiyatTextBox"
runat=
"server"
ReadOnly
=
"true"
Text=
'<%# Bind("ToplamFiyat") %>'
Width=
"60px"
></asp:TextBox>
</td>
<td>
</td>
</tr>
<tr>
<td class=
"style5"
>
ddd
</td>
<td colspan=
"2"
>
<table style=
"width: 374px"
>
<tr>
<td>
<telerik:RadButton ID=
"RadButton11"
runat=
"server"
CommandName=
'<%# Iif (TypeOf Container is GridEditFormInsertItem, "PerformInsert", "Update") %>'
Skin=
"Hay"
Text=
'<%# Iif (TypeOf Container is GridEditFormInsertItem, "Ekle", "Kaydet") %>'
Width=
"80px"
>
</telerik:RadButton>
</td>
<td>
<telerik:RadButton ID=
"RadButton33"
runat=
"server"
CausesValidation=
"False"
CommandName=
"Cancel"
Skin=
"Hay"
Text=
"İptal"
Width=
"90px"
>
</telerik:RadButton>
</td>
</tr>
</table>
</td>
</tr>
</table>
</FormTemplate>
<PopUpSettings Modal=
"True"
Height=
"300px"
/>
</EditFormSettings>
</MasterTableView>
<FilterMenu EnableImageSprites=
"False"
>
</FilterMenu>
<HeaderContextMenu CssClass=
"GridContextMenu GridContextMenu_Default"
>
</HeaderContextMenu>
</telerik:RadGrid>
<p>
</p>
<p>
</p>
</td>
<td>
<asp:TextBox ID=
"TextBox_Guidid"
runat=
"server"
Visible=
"false"
Text=
'<%# Bind("Guidid") %>'></asp:TextBox>
</td>
</tr>
<tr>
<td class=
"style2"
>
</td>
<td class=
"style3"
>
</td>
<td>
</td>
<td>
</td>
</tr>
<tr>
<td class=
"style2"
>
</td>
<td class=
"style3"
colspan=
"2"
>
<table style=
"width: 374px"
>
<tr>
<td>
<telerik:RadButton ID=
"RadButton11"
runat=
"server"
CommandName=
'<%# Iif (TypeOf Container is GridEditFormInsertItem, "PerformInsert", "Update") %>'
Skin=
"Hay"
Text=
'<%# Iif (TypeOf Container is GridEditFormInsertItem, "Ekle", "Kaydet") %>'
Width=
"80px"
>
</telerik:RadButton>
</td>
<td>
<telerik:RadButton ID=
"RadButton33"
runat=
"server"
CausesValidation=
"False"
CommandName=
"Cancel"
Skin=
"Hay"
Text=
"İptal"
Width=
"90px"
>
</telerik:RadButton>
</td>
</tr>
</table>
</td>
<td>
</td>
</tr>
<tr>
<td class=
"style2"
>
</td>
<td class=
"style3"
>
</td>
<td>
</td>
<td>
</td>
</tr>
</table>
</FormTemplate>
<PopUpSettings Modal=
"True"
Width=
"800px"
ShowCaptionInEditForm=
"true"
/>
</EditFormSettings>
</MasterTableView>
<FilterMenu EnableImageSprites=
"False"
>
</FilterMenu>
<HeaderContextMenu CssClass=
"GridContextMenu GridContextMenu_Default"
>
</HeaderContextMenu>
</telerik:RadGrid>
<asp:SqlDataSource ID=
"SqlDataSource_Faturalar"
runat=
"server"
ConnectionString=
"<%$ ConnectionStrings:ConnectionStringNET %>"
DeleteCommand=
"DELETE FROM [Faturalar] WHERE [ID] = @ID"
InsertCommand=
"INSERT INTO [Faturalar] ([FirmaGuidid], [FaturaNo], [Tarih], Guidid) VALUES (@FirmaGuidid, @FaturaNo, @Tarih, @Guidid)"
SelectCommand=
"SELECT * FROM [Faturalar_View]"
UpdateCommand=
"UPDATE [Faturalar] SET [FirmaGuidid] = @FirmaGuidid, [FaturaNo] = @FaturaNo, [Tarih] = @Tarih, Guidid = @Guidid WHERE [ID] = @ID"
>
<DeleteParameters>
<asp:Parameter Name=
"ID"
Type=
"Int32"
/>
</DeleteParameters>
<InsertParameters>
<asp:Parameter Name=
"FirmaGuidid"
Type=
"String"
/>
<asp:Parameter Name=
"FaturaNo"
Type=
"String"
/>
<asp:Parameter Name=
"Tarih"
Type=
"String"
/>
<asp:Parameter Name=
"Guidid"
Type=
"String"
/>
</InsertParameters>
<UpdateParameters>
<asp:Parameter Name=
"FirmaGuidid"
Type=
"String"
/>
<asp:Parameter Name=
"FaturaNo"
Type=
"String"
/>
<asp:Parameter Name=
"Tarih"
Type=
"String"
/>
<asp:Parameter Name=
"ID"
Type=
"Int32"
/>
<asp:Parameter Name=
"Guidid"
Type=
"String"
/>
</UpdateParameters>
</asp:SqlDataSource>
<asp:SqlDataSource ID=
"SqlDataSource_Firmalar"
runat=
"server"
ConnectionString=
"<%$ ConnectionStrings:ConnectionStringNET %>"
SelectCommand=
"SELECT [FirmaAdi], [Guidid] FROM [Firmalar] ORDER BY [FirmaAdi]"
>
</asp:SqlDataSource>
<asp:SqlDataSource ID=
"SqlDataSource_Urunler"
runat=
"server"
ConnectionString=
"<%$ ConnectionStrings:ConnectionStringNET %>"
SelectCommand=
"SELECT UrunAdi, [Guidid] FROM Urunler ORDER BY UrunAdi"
></asp:SqlDataSource>
</asp:Content>
<
telerik:RadEditor
runat
=
"server"
ID
=
"txtDescription"
Width
=
"99%"
ToolsFile
=
"Styles/defaultTools.xml"
EditModes
=
"Design"
Content='<%# Bind("Desc") %>' >
<
Languages
>
<
telerik:SpellCheckerLanguage
Code
=
"en-US"
Title
=
"English"
/>
</
Languages
>
<
SpellCheckSettings
AllowAddCustom
=
"true"
SpellCheckProvider
=
"PhoneticProvider"
DictionaryLanguage
=
"en-US"
/>
<
CssFiles
>
<
telerik:EditorCssFile
Value
=
"Styles/empty.css"
/>
</
CssFiles
>
<
Modules
>
<
telerik:EditorModule
Name
=
"RadEditorStatistics"
/>
<
telerik:EditorModule
Name
=
"RadEditorDomInspector"
/>
</
Modules
>
</
telerik:RadEditor
>
<input type="file" id="file1" runat="server" name="file1" />
string fileName = (e.Item.FindControl("file1") as HtmlInputFile).PostedFile.FileName;