|
Thank u Boss U r rt
Piyush Vardhan Singh
|
|
|
|
|
You can use Regular Expression validator for this. Try it!
Thanks & Regards
Niranjan
|
|
|
|
|
how can i make a first character in the word an upper case, is there any predefined function that do this?
Yesterday is a canceled check. Tomorrow is a promissory note. Today is the ready cash. USE IT.
|
|
|
|
|
I hope there is no predefined function.
You may do it with nofocus or onkeypress events.
If U Get Errors U Will Learn
If U Don't Get Errors U Have Learnt
|
|
|
|
|
can you tell me where and when you want do this?
maybe when use input some word to a TextBox?
|
|
|
|
|
No. I think he can do this effect with CSS.
|
|
|
|
|
|
CSS
.news {<br />
font-weight: normal;<br />
color: #444444;<br />
font-family: georgia;<br />
}<br />
<br />
.news:first-letter{<br />
float: left;<br />
width: 42px;<br />
font-size: 62px;<br />
line-height: 51px;<br />
font-weight: normal;<br />
color:#444444;<br />
font-family: georgia, times;<br />
}
HTML
<div class="news">This is Michael Sync.</div>
Ref: http://cutephp.com/forum/lofiversion/index.php/t8957.html[^]
|
|
|
|
|
Michael Sync wrote: Use capitalize[^]
Simple and efficient. Good one Michael.
|
|
|
|
|
I have a aspx page with contents which I have put in a Frame in a side.If the User clicks the other options the content should get appended to the existing
aspx page that I have put in Frame.
How can I maintain the Old values and Appened the contents
Thanks in Advance.
|
|
|
|
|
I am not clear with ur question but I guess that u need to add some HTML tags to the page.
if so u can use innerHTML in javascript.
If U Get Errors U Will Learn
If U Don't Get Errors U Have Learnt
|
|
|
|
|
i think u should use innerHtml as follows.
innerHtml=innerHtml+NewContent
regards Eric.W
|
|
|
|
|
Hi,
can we can open .aspx page without showing its extesion.
i mean, suppose my aspx page name is info.aspx, but when i ren the
application then it open the page /info , form but .aspx should not
come,while opening page.
amit
|
|
|
|
|
You can use the URL rewritting thing in ASP.NET. If you like to get the example, you can search with this keyword "ASP.NET URL rewritting" in Google.
|
|
|
|
|
amit_83 wrote: can we can open .aspx page without showing its extesion.
You can change the extension to anything that you like. Add the extension to application mapping list in IIS and map it to aspnet_isapi.dll . For removing the extension, you need to map all the requests to process via ASP.NET engine. I don't know how much efficient is this.
|
|
|
|
|
using URL Rewriting in ASP.Net you can set whatever url you want means you can hide .aspx extensions etc.
Thanks & Regards
Niranjan
|
|
|
|
|
A simple way is to create subdirectories for each page and create default.aspx page in each directory.
in your case create a folder named info and in that you work in default.aspx so when you redirect to page/info it will automatically take the default page in the directory.
|
|
|
|
|
hi,
i am having two text boxes on the page..
The user is requested to enter value in the first Tbox and the square of it comes in to the second when the button is clicked ..this button is a html button...what i want to do is that when the user enters the second text box ..i mean focus ... then the output must appear in it without getting post back...the textbox must be a asp textbox not html ..
1. how to call the function
2. and in which event
3. what properties should i change
experts please do reply
regards
sindhu tiwari
its me sid
|
|
|
|
|
use input controls of html to do same and onfocus event of the control call javascript to do the same.
Hope this is the exact solution for u.
Hello Forum
Always be in touch to help about the topic ASP.NET
|
|
|
|
|
sir
i want to use asp.net controls not the html controls
i will make my question clear
what i want to do is
1. user inputs a number in tb1 (asp.net control not html ctrl)
2. user press tab then
3. the output must appear in tb2 (asp.net control not html ctrl)
when the focus comes to tb2 it calls a fuction in java script ..square()
* the page must not get post back
* controls must be asp.net control
plz tell me how to call javascript function n from where should i call that ..?
i hope i have made myself clear..sorry for confusing u
regards
sindhu tiwari
its me sid
|
|
|
|
|
<blockquote class="FQ"><div class="FQA">sindhutiwari wrote:</div>fuction in java script ..square()</blockquote>
why you calling a java script function for Squre.
if both of your Control are server side then do it in server side.
I think you want to calculate the Squre of tb1.
So do one thing in client side read the ClientID of the control (Tb1) and calculate the squre of Tb1.
and on lostfocus of TB2 Register one ScriptSetupBlock for calling the funciton .
Try the steps... Hope you learn a lot for doing this.
if any problem ask me !!!!
Best Regards
-----------------
Abhijit Jana
View My CodeProject Articles
"Success is Journey it's not a destination"
|
|
|
|
|
sindhutiwari wrote: plz tell me how to call javascript function n from where should i call that ..?
Tb1.Attributes.Add("OnBlur","YourJsFunction();"); call this in page_load . Inside JS function, find the element and put value to the second text box.
|
|
|
|
|
SIR
would u be some what clear ... n plz suggest me some online books from which i can get a proper step by step learning
its me sid
|
|
|
|
|
sindhutiwari wrote: would u be some what clear
Attributes.Add adds attribute to the rendered controls. OnBlur is the JS event fired when it lost the focus.
sindhutiwari wrote: n plz suggest me some online books from which i can get a proper step by step learning
These all are very basic and I don't think that there would be a step by step tutorial for this. You may check this[^] MSDN article or getting some information.
|
|
|
|
|