i used Ajax Editor in Sevral web pages in som pages the buttons of ForColor and BackColor dont show the Color Palent
i dont know if it has any special properties or not. i would appreciate if you could help me
View Complete Post
When inserting a simple embed of youtube inside the ajax editor, on firefox and chrome problems occur. On the other hand on internet explorer 8 everything works fine. I found this solution http://www.nopcommerce.com/boards/t/4228/bug-in-ajax-html-editor.aspx .
My question is where do I find the DesignPanel.pre.js ?
Dear friends ,
I was working on an asp.net 3.5 website and used ajaxtoolkit in it and when I use it in my page it was registered as below
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="cc1" %>
and it was working well even After I upgraded my wevbsite to .net version 4
but when I started a new website from scratch in vs2010 using .net4 when I use ajax toolkit in this new site it is registered as folowing
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>
and when I run the page I get the error
The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>)
I don't Know what is the reason for this
I noticed another thing
in my old website I was using thckbox script by using the files
<asp:ScriptManager ID="ScriptManager1" runat="server"> <Scripts> <asp:ScriptReference Path="~/Javascrip
i put PopUpcontrolExtender in my page to learn more about this toolkit base on the Ajax tutorial
but ,when i click on the button , popup modal form popped up and disapear by itself fast, here is my code:
<%@ Page Language="VB" AutoEventWireup="true" CodeFile="Default.aspx.vb" Inherits="_Default" %>@<
I created an asp.net user control with a property named 'TabList' , the property is visible when I place my control on a page, the default editor for this property was a simple text box, but I needed a DropDownList for editing the TabList property of my control, so I added following code to implement it:
<Category("Navigation Bar"), Editor(GetType(DropDownList), GetType(System.Drawing.Design.UITypeEditor)), Description("List of Tabs"), DefaultValue("SHISHIR WAHI")> Public Property TabList() As String
Set(ByVal value As String)
_tablist = value
The Category() and DefaultValue() are working fine but Editor() and Description() are not, what could be the problem?
I am facing a problem. With custom Master Page when I set the Width of "Body Container" to 1020px, the Editor pane is not shown on screen (it moves to extreme right and Editor Pane is not visible on screen).
I have added lot of DIV control, Code is below
<%@ Master language="C#" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=184.108.40.206, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=220.127.116.11, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="wssuc" TagName="Welcome" src="~/_controltemplates/Welcome.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="DesignModeConsole" src="~/_controltemplates/DesignModeConsole.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="MUISelector" src=
Not sure whats happening but the default html 'Rich text Editor' is missing a save button anywhere in the editor. Anybody have any idea how to troubleshoot this. Tried different versions or IE and different computers but no help. Alternatively any other
free editor i can install?
Thanks for any help
I get the following error on last line below (working on remote host): 'E:\web\sfcascom\ls_admin/uploads/images/001.JPG' is not a valid virtual path,
Note that the slashes go in different directions
I've tried a number of things but nothing seems to work. Thanks-
Partial Class Protected_imageupload
Private Sub btnUpload_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnUpload.Click
' Initialize variables
Dim sSavePath As String
Dim sThumbExtension As String
Dim intThumbWidth As Integer
Dim intThumbHeight As Integer
Dim sFilename As String = ""
' Set constant values
'sSavePath = "images/"
sSavePath = Server.MapPath("~/") + "ls_admin/uploads/images/"
sThumbExtension = "_thumb"
intThumbWidth = 160
intThumbHeight = 120
' If file field isn?t empty
If FilUpload.PostedFile IsNot Nothing Then
' Check file size (mustn?t be 0)
Dim myFile As Http
I'm working project it's live on shared hosting
we'er uploading photos to a file on the server everything works fine the photo is resized renamed and sent to the folder
the upload page returns the thumbnail and the full size photo it's there all the photos have to be approved by an admin
twice now after they have been approved they disapear I checked the folder they are not there could there be anywhere
on the server they could get hung up before they go into the folder I have it setup so when you delete the data base entry it deletes the photo from the folder othe than that you need to open the folder and delete the photo this has hapened twice now I tried to recreate it with no luck
thaks for your help in advance
I'm having a problem with an asp.net 3.0 application using a gridview to display data. The problem seems to be that despite a brand new .selectCommand being sent to the sqlDataSource, the gridview starts displaying data from *someone else's* query. For example, user A is logged in and will be working fine until a few page submissions later when the gridview data starts suddenly showing information that belongs to another user.
This is my first asp.net application, though I've been working with classic asp and ADO for years so I'm used to sending a SQL string and getting back the results from that string. Apparently there is a complex caching system which is interferring which I do not at all understand so at this point I just want to stop the server from caching any data whatsoever. Is this possible?
Any and all help will be much appreciated!!
I store some values from code behind to a label which is Hidden !
<asp:Label ID="lbl_Hidden" runat="server" Visible = "false"></asp:Label>
and at the page load event i retrieve the value of the label & assign it to a string !
stringvalue = lbl_Hidden.Text;
Now i dont know why this manipulation does'nt work !
I've a character 'A' in the string and i'm unable to replace it with a space !
stringvalue.Replace(A, " ");
Wot do u think abt it ????
I have a parent page ProdView.aspx and two static UserControls, UC1 and UC2. Each UC is in an Ajax accordion pane and the accordion inside an updatepanel.
UC1 has a Gridview footer with couple of textboxes and a link button that fires an Add Row insert procedure. I want to Raise an event that will rebind the UC2 after the row insert in UC1.
First I created the sub delegate and event in UC1:
In the same UC1 the Insert procedure that fires the insert and RaiseEvent:
Sub PricingGrid_Insert(ByVal sender As System.Object, ByVal e As EventArgs) Dim myConn As SqlConnection = New SqlConnection(ConfigurationManager.ConnectionStrings("LocalSqlServer").ConnectionString) Dim myCom As SqlCommand = New SqlCommand("AddRow", myConn) myCom.CommandText = "AddRow" myCom.CommandType = CommandType.StoredProcedure
Try myConn.Open() &nb