15,890,438 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by Vijay Walunj,Navi mumbai (Top 48 by date)
Vijay Walunj,Navi mumbai
19-Jul-19 1:37am
View
Provide exact exception
Vijay Walunj,Navi mumbai
11-Feb-13 4:45am
View
thanx frnd.i am passing the string containg xml doc and parsing it to xml in store procedure.Using XMLTable i am able read xmldata with single record but i am not able to get entire data.provide soln.
Vijay Walunj,Navi mumbai
5-Nov-12 5:01am
View
I am successfully run it on internet explorer 9.I am trying to work it in all browsers.
I am calling javascript function on "onbeforeunload " function of page.When i am closing this page it fires this event and called javscript function.In this function i am checking for clientX and clientY values to ensure that page is unload due to closing browser.
My code:
if ((window.event.clientX < 0) || (window.event.clientY < 0) || (window.event.clientX < -80))
{
redirecting page to aspx page where i am handling application variable.Also clearing the session.
}
In this page I am assigning the application variable to one string varible and then converting it to the array and matching the userId and then removing from it and again convert it to the string and assign it to the application variable.
Try it will works.
Vijay Walunj,Navi mumbai
5-Nov-12 0:49am
View
what error you got?
Vijay Walunj,Navi mumbai
6-Oct-12 7:03am
View
elobrate your question
Vijay Walunj,Navi mumbai
6-Oct-12 6:30am
View
i didn't get u.can you able to explain your problem with example
Vijay Walunj,Navi mumbai
5-Oct-12 4:41am
View
can you provide expected output with example
Vijay Walunj,Navi mumbai
5-Oct-12 4:41am
View
Deleted
can you provide expected put with example
Vijay Walunj,Navi mumbai
3-Oct-12 8:39am
View
use this links
Vijay Walunj,Navi mumbai
3-Oct-12 7:31am
View
error:
Incorrect syntax near the keyword 'Having'
GRoup by missing
Vijay Walunj,Navi mumbai
3-Oct-12 6:00am
View
i have one web page in this one button control i have added.i am for first time postback i am assing current date to one session variable.In pre render method i am asssigning it to viewstate variable.on button click i am matching this to variable value if it match i am changing session varible value to current time so now there is different time in session and viewstate variable.After buttonclick method executed prerender method is called in this viewstate varible value set to session variable value.if now i am click on submit button again i found that my viewstate and session varible values are same but in case of page refresh it not same.my code is
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
If Not IsPostBack Then
Session("Time") = Date.Now.ToString
End If
End Sub
Private Sub Statemanagement_PreRender(sender As Object, e As System.EventArgs) Handles Me.PreRender
ViewState("Time") = Session("Time")
End Sub
Protected Sub btnLogin_Click(sender As Object, e As EventArgs) Handles btnLogin.Click
If ViewState("Time") = Session("Time") Then
MsgBox("Match")
Session("Time") = Date.Now.ToString
End If
End sub
Vijay Walunj,Navi mumbai
3-Oct-12 2:22am
View
you want to call code behind function on keypress event.is it ok if you call javascript function instead of code behind function
Vijay Walunj,Navi mumbai
28-Sep-12 3:23am
View
can you share it if you dont have any problem
Vijay Walunj,Navi mumbai
27-Sep-12 1:44am
View
if you are unable to see code completetely click on copy code link you will get entire code on copy.there my something prob while paste on this page.
Vijay Walunj,Navi mumbai
24-Sep-12 7:44am
View
if possible provide detail code.i think you want call function on onscroll event of panel.you can do this by calling javascript function on onscoll event and set panelId.onscrolltop(value).
Vijay Walunj,Navi mumbai
24-Sep-12 7:24am
View
Deleted
var DownArrow = document.createElement("img");
DownArrow.onclick = function () { return verticlescroll('down'); };
function verticlescroll(arrowDir) {
.......code
}
Vijay Walunj,Navi mumbai
24-Sep-12 4:37am
View
thanx for the rply.but actually i want which button is clicked either upward or downward.scrolling value i got.if you have soln provide me.
Vijay Walunj,Navi mumbai
21-Sep-12 2:44am
View
can you send your code?
there may be either dll reference problem or there may b you import namespaces which both have application class/namespace.Also check for dcom setting.
Vijay Walunj,Navi mumbai
21-Sep-12 2:33am
View
You need to make your condition test a regexp, not a string:
if(!/^[a-zA-Z0-9]+$/.test(name)){ ...
meaning:
^ -- start of line
[a-zA-Z0-9]+ -- one or more characters/numbers
$ -- end of line
or you could search for the inverse of that, which is "any non-accepted character":
if(/[^a-zA-Z0-9]/.test(name)){
Vijay Walunj,Navi mumbai
20-Sep-12 5:26am
View
Deleted
are yar don't fight and don't spoil our every ones reputation.enjoy this and take knowledge from it.have a great day.
Vijay Walunj,Navi mumbai
20-Sep-12 5:23am
View
vithal your code is very nice.you can do one little improvement to reduce sql server database round trip by avoiding fetching data for every page load.You can use session variable for keeping your datatset.when you submited data from page1 you have to first update it to database.After succefully data updation binddataset which kept in session for on every page load as your code done it.for first time check for postback and assign data to grid from database and assign it to session dataset variable and after each submission update session dataset and bind to grid.
Vijay Walunj,Navi mumbai
20-Sep-12 2:00am
View
i like this new look.if possible use border or lining to pages.login control is nice
Vijay Walunj,Navi mumbai
17-Sep-12 8:12am
View
very nice.its really works.
Vijay Walunj,Navi mumbai
17-Sep-12 8:02am
View
You can only have one primary key, but you can have multiple columns in your primary key.
Vijay Walunj,Navi mumbai
17-Sep-12 7:59am
View
You can only have one primary key, but you can have multiple columns in your primary key.
Vijay Walunj,Navi mumbai
17-Sep-12 7:11am
View
now its nice.good
Vijay Walunj,Navi mumbai
17-Sep-12 7:06am
View
it allows one null value not valid point
Vijay Walunj,Navi mumbai
17-Sep-12 7:05am
View
Foreign Key is also used to avoid the duplication of records is not valid point.you can have duplicate records.explain this point
Vijay Walunj,Navi mumbai
17-Sep-12 3:17am
View
i have solved my problem.there is some error in javascript function.which prevent to get actual output.
Vijay Walunj,Navi mumbai
17-Sep-12 3:05am
View
this is best soln i have found
Vijay Walunj,Navi mumbai
14-Sep-12 5:21am
View
I have tried this code but it doesn't work.i am using one asp textbox.copy data from excel,notepad,miscrosoftword and paste it on my textbox which is in my web page.onpaste event call javascript function but e && e.clipboardData && e.clipboardData.getData condition false b'coz e.clipboardData is undefined.provide soln for it.
Vijay Walunj,Navi mumbai
12-Sep-12 5:32am
View
thanx.but all this soln not work for me.when i am set position of gridview header to absolute header row remain fix but 2-3 data row hides behind header row .why this happen.why positions are same.provide soln 4 it.
Vijay Walunj,Navi mumbai
11-Sep-12 8:20am
View
thanku for rply.i want inform you that you miss on line of code
code is
table1.Rows.Add(row)
Code works
Vijay Walunj,Navi mumbai
11-Sep-12 5:45am
View
my code is
<pre lang="vb">Dim txtFilter As New TextBox
Dim lnkSortCol As New LinkButton</pre>
<pre lang="vb">lnkSortCol.Font.Underline = False
lnkSortCol.CssClass = "headerLnkBtn"
lnkSortCol.Text = ds1.Tables(0).Columns(j).ColumnName
lnkSortCol.ID = "lnkSortCol_" + j.ToString
lnkSortCol.ClientIDMode = UI.ClientIDMode.Static
lnkSortCol.Attributes.Add("onclick", "sort('" + lnkSortCol.ID + "','" + dataType + "');return false;")
grvCtrl.HeaderRow.Cells(0).Controls.AddAt(0, lnkSortCol)
txtFilter.ID = "txtFilter_" + j.ToString
txtFilter.ClientIDMode = UI.ClientIDMode.Static
txtFilter.AutoPostBack = False
txtFilter.ReadOnly = False
txtFilter.CssClass = "txtFilter"
txtFilter.Height = "8"</pre>
grvCtrl.HeaderRow.Cells(0).Controls.AddAt(1, txtFilter)
Vijay Walunj,Navi mumbai
6-Sep-12 8:25am
View
i am able to access gridview in javascript.but i dont knw how to access footer row. only this is issue.
Vijay Walunj,Navi mumbai
6-Sep-12 1:39am
View
sql server 2012
microsoft sql server management studio version 11.0.2100.60
Vijay Walunj,Navi mumbai
30-Jul-12 8:08am
View
my 5th question is if each time button control is generated dynamically on each page load and clientIdmode is set static then on each page load if existing dynamically generated control not deleted let say my button with id btnAdd which hardcoded .for eaxmple
sub pageload()
Dim b As New LinkButton
b.ClientIDMode = UI.ClientIDMode.Static
b.Text ="Add"
b.Id="btnAdd"
form1.Controls.Add(b)
end sub
on page load due to clientIdmode is set static its id not changed and if new button generated to which same id(btnAdd hardcoded) it must conflict with btnAdd existing one.
Vijay Walunj,Navi mumbai
21-Jul-12 1:07am
View
In other browser it opens the outlook which also i dont want.provide soln for this.
Vijay Walunj,Navi mumbai
21-Jul-12 1:06am
View
is there any outlook setting which prevents this warning.
Vijay Walunj,Navi mumbai
21-Jul-12 1:04am
View
thanx.i am already tried it but i have found little problem.while sending mail except in Internet explorer outlook window open that i dont how to prevent from opening is there any outlook setting.Also in IE it gives warning msg that also i dont want.provide soln
Vijay Walunj,Navi mumbai
5-Jun-12 1:20am
View
thanx bro but still it not working.if you have other soln provide me.
Vijay Walunj,Navi mumbai
2-Jun-12 7:47am
View
currently i am write this code on button click event.Actually i want to this code in pageload of my starting page of web application
Vijay Walunj,Navi mumbai
2-Jun-12 7:36am
View
thanx yar.this solution works at my pc.but i have one more problem that when i am running this app locally works properly but when hosting it doesn't gave any error but my browser not display .actually in task manager i had seen that browser exe process run but browser not seen to me.if the process user is my self then it display but if it asp.net not seen.How to resolve this prob.i want host my site provide soln for it.thanx
Vijay Walunj,Navi mumbai
10-May-12 5:27am
View
Close the textbox tag.i have tried your code it works. check for the is there any error in your rest of the javascript code.It may causes functionality of other code.
Vijay Walunj,Navi mumbai
10-May-12 1:34am
View
I WAS already use this lib but not able to resolved issue.
Vijay Walunj,Navi mumbai
9-May-12 1:49am
View
hi abhijit have got any answer?
Vijay Walunj,Navi mumbai
9-May-12 1:45am
View
i have that css 3.0 file specified path.Give other soln bro.
Vijay Walunj,Navi mumbai
9-May-12 1:36am
View
thanx for quick rply but i have already go through those pages but still facing same problem.Even though i have installed vs 2010 sp1 but still issue not resolved.I got css 3.0 in drop down in vs 2010 but able to select it.Can you able give me any other solution?
Show More