I have several JS files that were linked on my site and I wanted to combine them into just one call, so, I added this to the RadScriptManager
<
CompositeScript
>
<
Scripts
>
<
asp:ScriptReference
Path
=
"~/js/jquery.min.js"
ScriptMode
=
"Auto"
/>
<
asp:ScriptReference
Path
=
"~/js/webctrl.js"
ScriptMode
=
"Auto"
/>
<
asp:ScriptReference
Path
=
"~/js/default.js"
ScriptMode
=
"Auto"
/>
<
asp:ScriptReference
Assembly
=
"System.Web"
Name
=
"WebForms.js"
ScriptMode
=
"Auto"
/>
</
Scripts
>
</
CompositeScript
>
Hi,
I dont know where to start on this so thought of posting it. Basically, I have to address all the following tasks.
We have a large number of pictures which we send out to our customers on a regular basis. They get over sized and dont upload properly.
I plan to make an application which re sizes and emails pictures.
1) Select pictures with similar names ( first 5 digits) from some selected folder. May be on a button click.
2) Re-size them to 200KB-400KB.
3) Upload and Email them (Using Exchange). Email address is entered by user. Usually there would be around 20 pictures attached per email.
4) Save those re-sized pictures to some drive.
5) Delete the non-re-sized pictures which were selected.
Could you please guide me little bit on what controls can I use?phonetype.FirstOrDefault.PhoneTypeName.ToString
"Using dbContext As New EntitiesModel()
Dim phonetype As IEnumerable(Of User_PhoneType) = dbContext.User_PhoneTypes.Where(Function(c) c.PhoneTypeCode = "O")
mytextbox.Text = phonetype.FirstOrDefault.PhoneTypeName.ToString
E
nd Using
<
telerik:AjaxSetting
AjaxControlID
=
"radGridGovernanceWithin"
>
<
UpdatedControls
>
<
telerik:AjaxUpdatedControl
ControlID
=
"radGridGovernanceWithin"
LoadingPanelID
=
"RadAjaxLoadingPanel1"
/>
</
UpdatedControls
>
</
telerik:AjaxSetting
>
protected
void
radgrid1_ItemCreated(
object
sender, GridItemEventArgs e)
{
if
(e.Item
is
GridEditableItem && e.Item.IsInEditMode)
{
//the item is in edit mode
GridEditableItem editedItem = e.Item
as
GridEditableItem;
editedItem.Width = Unit.Pixel(300);
editedItem.Height = Unit.Pixel(300);
}
}
if
(columnEditor
is
GridTextBoxColumnEditor)
{
GridTextBoxColumnEditor item = columnEditor
as
GridTextBoxColumnEditor;
item.TextBoxControl.Enabled = false;
// To hide completely item.TextBoxControl.ReadOnly = statusReadable ? false : true;
}
else if (columnEditor is GridNumericColumnEditor)
{
GridNumericColumnEditor item = columnEditor as GridNumericColumnEditor;
item.NumericTextBox.Enabled = false;
}
<
p
style
=
"margin: 0px 0px 12px 0px;text-align: left;text-indent: 0pt;padding: 0px 0px 0px 0px;"
>
<
span
style
=
"font-family: 'Segoe UI';font-style: Normal;font-weight: normal;"
> </
span
>
<
span
style
=
"font-family: 'Verdana';font-style: Italic;font-weight: bold;background-color: #FFFF00;text-decoration: underline line-through;"
>
Hi this is Bold <
br
/>Test</
span
>
<
span
style
=
"font-family: 'Segoe UI';font-style: Normal;font-weight: normal;"
/>
</
p>
<
strong
><
em
><
span
style
=
"text-decoration: line-through;"
>this is Online Test</
span
></
em
></
strong
>
<
telerik:GridTemplateColumn
SortExpression
=
"MATCH"
HeaderText
=
"Match"
HeaderButtonType
=
"TextButton"
UniqueName
=
"Match"
DataField
=
"MATCH"
GroupByExpression
=
"MATCH Group By MATCH"
>
<
ItemTemplate
>
<
asp:Label
ID
=
"lblMatchColumn"
runat
=
"server"
Text='<%# GetMatchCodes(Eval("MATCH").ToString()) %>' />
</
ItemTemplate
>
</
telerik:GridTemplateColumn
>