|
from code behind or from javascript?
|
|
|
|
|
There are many ways to perform it totally depends what is the requirement
you have given very less information to get exact solution
Any way you can do it by using regular expression or
by using string's split method
check that method
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
using split you can define the starting index and number of characters...
of substring
with regular expression , you have to define the expression string format.
so the input string is compared with the expression string format
Aswini
|
|
|
|
|
Hi all,
Can anybody suggest a good ebook,site.. for learning the ajax control toolkit implementation.i mean what is an update panel, timer etc... some samples with code....
|
|
|
|
|
AJAX toolkit comes with a documentation for all the controls. You can see ASP.NET website for more information.
|
|
|
|
|
Hi All,
I Saw many chat samples. But I have many doubts, I created one chat application. In Home page I have link to open a Login window, When I click that the Login window is open,using Window.open method.
But What happened is, the other pages also opened like Login window's height and width. How to ctrl that?
Tell me any suggesition to solve this.
Thanks in advance
|
|
|
|
|
Hi,
pass height and width when you are opening any window.
Thanks,
Sun Rays
Rate this post if you like answer.
My Articles
|
|
|
|
|
Hi Guys I am using vs2003,
I like to show one page contained text in treeview control...,
Actually treeview built tool in vs2005 and windows forms...,
But in vs2003 i like to show some things like that way,
Its possible?,
Have any way is there to show some text in tree view?,
Thanks & Regards,
Mageshh,
please don't forget to vote on the post
|
|
|
|
|
I want to get Local System time using ASP.NET not Server time as i use DateTime.Now it will give server time which i does not required.
|
|
|
|
|
Do you want this info on the server or the client ? I think javascript can get it, but then yuo'd have to put it in a hidden field or use AJAX to send it to the server.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
|
When I run my project i get the Permission Denied Error on IE 6.0 , But when I run it in Firefox then it works fine. What s the reason for that. Any Solution for that.
Thanks in Advance.
|
|
|
|
|
There are a number of reasons for this, one could be that you're writing to the page using javascript before it is loaded. I had that recently.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Thanks for ur replay but my JS are called after page load.
My question s that why it is working in Firefox.
|
|
|
|
|
Hi,
I need your valuable suggestions and ideas regarding NUnit test for my asp.net we application..my senior told me that there are test cases should be developed for my application using NUnit but i don't know what exactly this...please help me or suggest me something good for me...
expecting your reply....alex.
|
|
|
|
|
You should use google. The answer is, you can't really test your presentation layer, but you can test your business and data layers.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
In my project there is one table to store the user login details.
When the user logout, i want to store the logout time in the table.
But when the user close the browser without logging out, i can not store the Logout time.
How can I get the Logout time in this case.
Plz help me...
|
|
|
|
|
In this case you will have to consider the session timeout time
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
could you plz give me any sample codes for that.
|
|
|
|
|
Try to use Session_End event of Global.asax. If you are using ASP.Net 2.0 you have to manually include Global.asax from the list. In this event check if the user is not already logged out enter the time when session expires.
Check the link might be helpfull,yo can do in this way
http://www.codeproject.com/asp/user_logtime.asp[^]
if you need more info google the subject you will get lot of info i think
Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
|
|
|
|
|
Hello Everyone,
I've desinged a websitte in ASP.NET1.1 and it's desinging looking as i want but it is looking ugly in mozilla......
Mainly my Side Menu. Here i'm giving the CSS below if u find any probs. plz let me know.....
http://www.kiritbhaiji.com/Rough_New.aspx[^]
|
|
|
|
|
HI
I have Checked Ur Web
AS I Have Told U Earlier...
U have to just Follow Just Do IT™ [Information Technology]™ :->
|
|
|
|
|
Hi
i want to get the number of unread emails that are in my yahoo mail box.
My mean:
i want with push button i can go to my yahoo email and chech my email and find that how many emails are there that i dont read them.i want my function return a number of unread emails
can anybody help me plz?
|
|
|
|
|
I have a grid form that uses our internal framework to open a popup for a detail form. I can't yet modify our framework to allow me to pass a callback function for the popup form to call back to the grid form for a refresh, so I would, for now, like to hard-code the callback into the popup. How could I go about this? The grid form is displayed in an IFRAME controlled by an explorer like navigator.
I have the 'call-back' code already in the popup form, and the back-called function already in the grid form, but now I just need to know how to find the function in the grid form from the function in the popup form.
Calling all South African developers! Your participation in this local dev community will be mutually beneficial, to you and us.
|
|
|
|
|
Brady Kelly wrote: I have a grid form that uses our internal framework to open a popup for a detail form. I can't yet modify our framework to allow me to pass a callback function for the popup form
I don't think that call back function(delegates) can work on multiple pages. Do you mean a JS function ?
Brady Kelly wrote: like to hard-code the callback into the popup.
If you are trying through JS, Have you tried Window.Opener[^] ?
|
|
|
|