AJAX :: How To Represent Space As Part Of The Valid Characters
May 4, 2010How do I represent space (pressing the space bar in a filtered text box extender) as part of the valid characters?
View 1 RepliesHow do I represent space (pressing the space bar in a filtered text box extender) as part of the valid characters?
View 1 Repliesdouble space in Ajax Combobox.When I fill items with two o more following space I receive only 1 space in Combobox list and 1 space in edit (selected item).
ListItem litm = new ListItem("FF text");
When I try to use " " I receive spaces in combox list , but in edit they are looks like  .
i'm writing a stored proc and if a field i return is longer then 200 characters, i want to truncate, find the last space, remove any characters after that space, then add some full stopseg:
INSERT INTO @rec(articleid, abstract)
SELECT a.id,
CASE
[code]...
What is a good regular expression that will allow only characters with the space?
View 5 RepliesHow I can Replace charachter '+' Instead of Space between this words or sentencefor Example :
Before = I like ASP.NET
After = I+like+ASP.NET
How to check the textbox1 value if there is a space or numeric or any special charecters in it
View 7 RepliesThere is a Textbox in which only 50 charactes are allowed to enter "excluding spaces between the characters"How to validate it as per requirement.
View 1 RepliesRegular expression validator for not acception special characters and space.
View 1 Replies--AND (CONTAINS(O.OrgName, N'"3 step*"')) ORDER BY O.OrgName ( Contain function fails for a string with single character followed by space)
AND O.OrgName
like
'3 step%'
ORDER
BY O.OrgName(Works
perfectly fine)
Contain function fails for a string like 3 step, @ fire etc which has single characters followed by space.
I need to allow the user to submit queries as follows;
/search/"my search string"
but it's failing because of request validation, as outlined in the following 2 questions:
[URL]
I'm currently trying to figure out how to disable request validation for the quote character, but i'd like to know the risks before I actually put the site live with this disabled?
I have a problem with MaskedEdit's mask for the code shown below:
[Code]....
When I'm starting to print date in the TextBox, mask moves with characters. Mask characters don't hide under typing characters.
How to replace a character in a String to space or white-space?
View 3 RepliesI have a problem with DataSet.GetXml() in ASP.NET 4.0:
First I populate the dataset with some tables.
Then I run the .GetXml() method on the dataset and some XML is returned. The output of this method is not want I want it to be, however.
The desired result is this:
[code]....
How do I stop this from happening? I mean, how do I stop the cell from being included at all?
In ASP.NET 1.1 the same code is used and the desired output is returned. This means that it is probably some new thing in 4.0 that I have to switch on/off. But what?
We have several asp.net web applications we've built and we also want to embed them into various sharepoint pages. We need to have them look like standalone applications when viewed in their own pages, but also have them look like they fit within the sharepoint page when embedded. We are doing this currently with IFrames and it works ok, but I'm wondering if there is some sort of proxy web part where we can configure the web part to point to an existing web app and it will proxy the contents through from the web app into the sharepoint page removing the need for an IFrame. Possible?
View 2 RepliesI am using filtered text box control of AJAX for name entry.Working fine but it is not taking Space b/w first name n middle name.
View 1 RepliesI have four columns in database. Consider it as a,b,c and d. I'm trying to place a and b column values in TO part and c and d column values in CC part in outlook. a,b,c,d contains six digits numeric values. I just need to place a and b columns values in to and c and d values in cc part on click of a button.
View 1 Repliesi have used ajax control toolkit masked editor extender.i want to remove "_" from masking pattern and want to replace it with space. for ex. want " - - " instead of this
<
asp:MaskedEditExtender
ID="MEETxbPhone"
TargetControlID="txbPhone"
Mask="999-999-9999"
[code]...
When using SPWeb.GetCatalog(SPListTemplateType.WebPartCatalog), it returns an SPList which of course contains a SPListItemCollection of the web parts in the web part gallery. When looping through the items, is there any easy way to get properties of the web parts? Such as AllowClose, CatalogIconImageUrl, etc... I know I can probably accomplish this using the listItem.OpenBinaryStream etc and loading the xml of the .webpart file, but I wondered if there was an easier way to do this.
View 1 RepliesI have a page where I want to keep several combo boxes adjacent to each other. I have put them in divs that are floated left.
This works fine in IE, Firefox. But when I render the same page on Chrome I observe the uneven gap between combo boxes. Upon analysis I found out that each combo box is occupying space based on the data inside it.
This happens because on Safari and Chrome, the option list control is placed differently as compared to that on IE and Firefox.
Please see the following code from ComboBox.pre.js (in AjaxControlToolkit source/Server/)
[Code]....
This is how it looks:
I have tried doing the following but none of them helped:
Changed the RenderMode of combo box to 'block' from 'inline'Commented the lines above in combobox.pre.js
Basically, as per my study, unlike IE and FF, on Chrome, the outer combo box div occupies space as the width of absolutely placed ul present inside it which anyways doesn't seem to be a correct implementation.
I'm trying to work on this page that requires me to have a hyperlink/button that, when clicked, should duplicate a section of a page which includes several text fields, radio buttons, a dynamic table (where the user can add rows and edit fields), and the actual link itself. Is this possible? If so, could someone please show me how? :( I'm really stumped on how to do this one.
View 2 RepliesI've built a page which has an update form, and above that, a photo (based on the same edit). The photo is loaded based on the selected table row being edited.
On this page, I've got a button that opens a modal in an iFrame and allows the user to update just their profile image (all works fine). But when the modal is closed, I'd like to reload JUST the photo (and not the entire page), as it will have changed.
How should I go about doing this? I assume I'll need to use some Ajax controls?
Like normal chat application i have two textboxes one to get text from user and one to display that text. i am using wcf service to provide communication with one user with other. I want to reload only the textbox that contain the entered text by the user not the other controls. i have timer and meta tag but nothing worked.
View 3 RepliesHow to count no. of characters entered in multiline textbox, i wanna enter maximum 140 characters in my multiline textbox using vb.net ...
In short i want textbox to enter limit is only 140 characters ....
i have te following code to do that .... but i wanna implement 140 characters limit in multiline textbox :
<script type="text/javascript">
function Count(x) {
document.getElementById("Label1").innerHTML = document.getElementById("TextBox2").value.length;
}
</script>
<asp:TextBox ID="TextBox2" runat="server" Height="78px"
TextMode="MultiLine" Width="224px" onkeyup="Count(this.id)"
MaxLength="140"></asp:TextBox>
I would like a ModalPopup box to only popup when the pages is actually valid.I have tried hiding and showing my panels with statements inside - If Page.IsValid Then...but this didn't work.The modalPopop opens up everytime on submit(btnSubmit1).This is my extender code:
< cc1:modalpopupextender
id="ModalPopupWarning"
runat="server"
[code]...
I'm using Sys.Serialization.JavaScriptSerializer.deserialize to deserialize the json. unfortunately I got an error saying that my data does not correspond a valid json.
Here's my Class.
[Code]....
Here's my WebMethod
[Code]....
my Javascript
[Code]....
my WebService
[Code]....