<input id="age" type="text" name="age"/>
If there is a way to restrict the value entered to be integer?
View Complete Post
I have a @message parameter in SP, user sends an Integer value in that message.For Ex: @message = 'This is, a Test message 500000 and the message ends.'Now i want to get only that 500000 value from this @message param. There is no delimiters for identifying the integer value and in that param contains only one integer value
create procedure st_test (@message varchar (4000), @result int output)asbegin//LOGIC for get the interger valueend
Just wondering if anyone knows a way to make only certain fonts and colours available to rich text box in the content editor web part?
also is there a way to make only certain features available in the rich text box, ie only let the users change font, but not let them use bullet points etc.
I need to make validation for Textbox to allow enter integer stated by 9 or 6 or 5 , and also maximum 8 digits , how to do that ?
Hi, I'm searching now for hours but couldn't find it.
In my menu i have several buttons which (by a <a href..) should go the a part of an article that is in the same form.
Menu button : What is a database should go to the page default.aspx and in there is an article published. A part of this article is having a piece of text about "what is a database"
Menu button: how to make a query should go to this same article in the same page but then to the part that is have the piece about the query. The next could be an example of what i'm doing:
<ul> <li><a href="default.aspx ?????>what is a database</a></li> <li><a href="default.aspx ?????>what is a query</a></li>
Where my question marks are, there should be a connection to that particular piece of text.In each article part there is an ID="text1" and the second part id="text2"
How shoudl i do that, Should i use a question mark.Please give me some guidance how to structure the <li> statement or a pointer where I can read about it.
I format lines in a .aspx file (source view) the way I can use them, and if I switch to design view or view in browser or debug, the many lines get reformatted to flow all onto one line.
I can't seem to find the correct setting to keep this from happening.
I'm working with VS2010 Beta2, ASP.NET and Dynamic Data. I'm using VB but will certainly be happy to receive a C# example if necessary.
I used a few of Steve's examples (Writing Attributes and Extension Methods for Dynamic Data and Dynamic Data - Hiding Columns in selected PageTemplates) to create a custom property attribute to be applied to a dynamic data column and want it to accept an array of enum values (each value will represent a dynamic data page template where this column should not be displayed). My new attribute works fine when I hardcode it like this, meaning the HideColumnIn attribute is properly populated with the array of enum values:
<HideColumnIn(PageTemplate.List, PageTemplate.Edit)> _
Public Property My_DD_Column As Object
However, I want to store the values to be used for the HideColumnIn in the DB as integer values that correspond to the
I know this is probably a very basic question but how do I keep a column's text values unique in SQL server (ie for a unique username)? The column is not an integer it's varchar(50), and it's not the primary key but I could make it the primary key if recommended.
The front end could handle it; where the user would enter text, it's validated, then a query is done to see if that username is available. If so, then user can decide to choose it and an insert is done, if not they pick a new username and process repeats. With this approach, the responsibility of keeping the value unique solely rests on the front end, nothing on the database side.
Is this the correct way to handle this?
hi want to write urdu in text box of my application if anyone has the solution how to do this kindly let me know
Hi i developing multi language website
using Master pages
Page_Load i set the Text property of Button Control from Resource file
Button1.Text = GetLocalResourceObject("Button1")
then in the button click event i cnage the text of the Button control
Button1.Text = GetLocalResourceObject("Button1_new")
but the text doesn't change and no error messgae
what is the problem how to solve this
Hello All Experts,
I have made one matrix report, in which i have taken one column group named as "Branch".It will display dynamically all the branches. Now in that column group i have added two sub columnas "PO", "SO". In column "PO" i have given link of anther report with the paramtere also.
Now there is a hyperlink in PO column which is display for all the branches, i want that the hyperlink should be there for only branch name "AHD", for other branches there should not be any hyperlink to go another report.
Is this possible? if yes then how can we do this?
I need to create a complex report and export it to Excel. In the first column header, text is displayed as "Hide Daily Columns", but I need the text to change as "Unhide Daily columns" when I click on it and when the text changes the columns under "daily" header (I have 3 columns under this header) present in the report shud be hidden and only weekly columns shud be visible. Any ideas please. I am new to SSRS and tried out many ways but didn't get it.