or
| Private Sub InitializeUpdateParameter(ByVal currentUpload As RadUpload) | |
| If currentUpload.UploadedFiles.Count > 0 Then | |
| Dim data As Byte() = New Byte(currentUpload.UploadedFiles(0).ContentLength) {} | |
| currentUpload.UploadedFiles(0).InputStream.Read(data, 0, data.Length) | |
| Session("DataVB") = data | |
| End If | |
| End Sub |
| <asp:SqlDataSource ID="SqlDataSource1" runat="server" | |
| ConnectionString="<%$ ConnectionStrings:NorthwindConnectionString %>" | |
| SelectCommandType="StoredProcedure" | |
| SelectCommand="Selectimage" | |
| DeleteCommandType="StoredProcedure" | |
| DeleteCommand="Deleteimage" | |
| UpdateCommandType="StoredProcedure" | |
| UpdateCommand="Updateimage" | |
| InsertCommandType="StoredProcedure" | |
| InsertCommand="Insertimage"> | |
| <UpdateParameters> | |
| <asp:Parameter Name="FileName" Type="String" /> | |
| <asp:Parameter Name="imageID" Type="int32" /> | |
| </UpdateParameters> | |
| <InsertParameters> | |
| <asp:Parameter Name="FileName" Type="String" /> | |
| </InsertParameters> | |
| </asp:SqlDataSource> |


it doesnt work tell me"cannot creat this type"
| Dim ModulesMain_TableName As New GridBoundColumn | |
| .MasterTableView.Columns.Add(ModulesMain_TableName) | |
| ModulesMain_TableName.DataField = "ModulesMain_TableName" | |
| ModulesMain_TableName.UniqueName = "ModulesMain_TableName" | |
| ModulesMain_TableName.HeaderText = "ModulesMain_TableName" |
radTextBox.Font.Underline =
true;
I then would like to remove the underline text decoration in the client-side OnValueChanging handler:
| function(sender, eventArgs) |
| { |
| if (eventArgs.get_newValue() == "") |
| eventArgs.set_cancel(true); |
| sender.get_styles().EnabledStyle[0] += "text-decoration: none;"; |
| sender.updateCssClass(); |
| } |
