15,893,668 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 Sanjeev Alamuri (Top 88 by date)
Sanjeev Alamuri
11-Nov-14 6:01am
View
PageMethods are static methods, in that methods, i cant get the UI elemets ID's
Sanjeev Alamuri
11-Nov-14 6:00am
View
c# Method..
Sanjeev Alamuri
6-Nov-14 4:08am
View
yeah excuted successfully, and the output saved in perl.txt file, instead of saving in that text file, i just wanted to append to TR.
Sanjeev Alamuri
6-Nov-14 3:58am
View
can u please have look at my updated question, i followed through ur solution. bt no data returning form method. and can u give me sample of crating instance of HTML to textwriter?
Sanjeev Alamuri
23-Jan-14 1:23am
View
My requirement is mvc with sqlserver.. not to use entity framework.
Sanjeev Alamuri
12-Sep-13 12:03pm
View
Nope!!!
Sanjeev Alamuri
12-Sep-13 8:48am
View
try this once!!!
$("#form1")[0].submit();
or else
document.forms[0].submit();
Sanjeev Alamuri
12-Sep-13 8:31am
View
Through session variable, applying background image to particular div or body like this way... here background image comes from database.
background: url('<%=Session["bg"].ToString() %>');
Sanjeev Alamuri
19-Mar-13 7:28am
View
have u tried yet?
Sanjeev Alamuri
11-Mar-13 2:43am
View
what type of controls u r trying to add dynamically in gridview? be specific abt ur question!!!
Sanjeev Alamuri
26-Feb-13 2:30am
View
did u checked the values of "Firstname, Email, Address, etc"?. if not, use "debugger" and check the values, whether u are getting correct values or undefined. otherwise use "alert('Firstname');" to check the value of "Firstname" etc.
Sanjeev Alamuri
26-Feb-13 0:44am
View
The reason is, there is no event for "ChkOne" CheckBox like "ChkAll". please write "OnCheckedChanged" for "ChkOne" and write the logic in that function.
Sanjeev Alamuri
21-Feb-13 7:49am
View
Check ur tab index value of your button!! after Textbox it must be Button!!! then it will works!!
Sanjeev Alamuri
21-Feb-13 7:26am
View
First u click on "Default" button. it will take u into function bt1_Click(), if it dont, then we will see the error where it is!!!
one more Request, Please change all "onclick" into "onClick".
Sanjeev Alamuri
25-Jan-13 2:14am
View
post your code.
Sanjeev Alamuri
24-Jan-13 2:10am
View
please be clear about ur question. whether it is Windows or Web. and paste some more code.
for windows, check here,
http://stackoverflow.com/questions/7461518/page-range-problem-at-printing-a-document
http://www.c-sharpcorner.com/uploadfile/mahesh/printdialog-in-C-Sharp/
Sanjeev Alamuri
23-Jan-13 6:52am
View
Microsoft JScript runtime error: '$' is undefined means, u have to add jquery.js file in YOUR HEADER tag to initialize jquery.
Sanjeev Alamuri
17-Jan-13 5:59am
View
please paste your code.
Sanjeev Alamuri
11-Jan-13 6:39am
View
check my updated solution.
Sanjeev Alamuri
11-Jan-13 5:31am
View
Try to put some text in div then check, empty div show you nothing. check my updated solution.
Sanjeev Alamuri
11-Jan-13 2:43am
View
so u have dropdown which contains OrganisationName and OrganisationId, the get the value of dropdown selected value by this,
int OrganisationID= int.Parse(drpOrganisaiton.SelectedVlaue);.
Sanjeev Alamuri
10-Jan-13 5:20am
View
Try to clear temporary files in System. still u face the same error, goto the path above u mentioned, check the dll by extracting.
Sanjeev Alamuri
10-Jan-13 5:17am
View
Whats the error you are facing?
Sanjeev Alamuri
9-Jan-13 7:04am
View
please check my updated solution. Added there HeaderStyle-CssClass="GridHeaderRowClass "
Sanjeev Alamuri
9-Jan-13 6:58am
View
its ur wish. u can create either "sytelsheet or Skin File".
Sanjeev Alamuri
9-Jan-13 6:41am
View
Please elaborate with code!!
Sanjeev Alamuri
9-Jan-13 6:39am
View
There nothing difference in Both code blocks. so how can we expect no error raising in firstblock and error in another?
Sanjeev Alamuri
1-Jan-13 2:32am
View
5+
Sanjeev Alamuri
26-Dec-12 3:28am
View
Thanks Are Jay, successfully generated ClassId for my dll.
Sanjeev Alamuri
26-Dec-12 1:48am
View
Run the program with debugger. select one variable for addWatch option. after selecting addWatch, right click on the variable on that in addWatch prompt screen, there u r going to see the Hexadecimal Display option. deselect that option. thats it only.
Sanjeev Alamuri
26-Dec-12 1:42am
View
Thanks for ur reply Are Jay. but when i tried the above step 10 as u said, im facing the following error.
here this is my cmd input
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727>regasm.exe C:\Inetpub\wwwroot\VS20 05\WINBasic.dll /regfile: C:\Inetpub\wwwroot\VS2005\WindowsToWeb.reg
"No registry script will be produced since there is no types is register". please let me know, im stuck here for many days.
Sanjeev Alamuri
19-Dec-12 1:24am
View
There are lot of questions left over there without answers in that article. if know please let me know.
Sanjeev Alamuri
18-Dec-12 23:50pm
View
Thanks jibesh. Actually im are working on "window in webforms", i mean displaying windows form in webpage. i googled and found the following link.
http://www.codeproject.com/Articles/14276/Using-Windows-Application-on-web
please have a look at this link, there im facing the problem at 11 point.
Sanjeev Alamuri
18-Dec-12 7:30am
View
please post ur code.
Sanjeev Alamuri
18-Dec-12 6:43am
View
Okay but how? please let me with brief explanation.
Sanjeev Alamuri
18-Dec-12 6:02am
View
Thanks for reply, this was already tried. but not solved.
Sanjeev Alamuri
17-Dec-12 5:32am
View
Yes Mick,if forward its great full for me. please forward to this mail sanjev1297@gmail.com
thanks Mick.
Sanjeev Alamuri
17-Dec-12 4:49am
View
http://stackoverflow.com/questions/6092885/what-ways-are-out-there-to-display-a-desktop-notification-from-a-web-app/13328397#13328397
I checked this link. but its only works in chorme.
Sanjeev Alamuri
17-Dec-12 4:47am
View
not popups,i mean notification at desktop right corner of the window,just like chrome email notifications.
Sanjeev Alamuri
17-Dec-12 4:47am
View
desktop notifications, like chrome email notifications.
Sanjeev Alamuri
17-Dec-12 4:45am
View
not popups,i mean notification at desktop right corner of the window,just like chrome email notifications.
Sanjeev Alamuri
17-Dec-12 1:58am
View
can u connet me on sanjev1297@gmail.com.
Sanjeev Alamuri
17-Dec-12 1:50am
View
TreeNode masterNode1 = new TreeNode(masterRow1["BillNO"], Convert.ToString(masterRow1["BillNO"]));
change thisline to as follows, because this method accepts string, so before u sending this, convert into sting.
TreeNode masterNode1 = new TreeNode((string)masterRow1["BillNO"], Convert.ToString(masterRow1["BillNO"]));
Sanjeev Alamuri
17-Dec-12 1:46am
View
yes.okay post ur code here.
Sanjeev Alamuri
17-Dec-12 1:39am
View
okay use QUICKWATCH and check the value of "masterRow1["BillNO"]" in that line.
Sanjeev Alamuri
17-Dec-12 1:33am
View
so check the datatypes of ur column values "BillNo".
Sanjeev Alamuri
17-Dec-12 1:28am
View
the first line is to get dataset from database using 3-tier architecture. u need not bother about this. here dsModule is dataset.
its the code in my project. there is nothing about ds. u have a datatable. so can move from foreach statement.
Sanjeev Alamuri
17-Dec-12 1:00am
View
dataset contains datatables. so u can extract datatable from datasets.
datatabel=dsModules.Tables[0];//0 means index.
U can replace top foreach loop as fallows.
foreach (DataRow masterRow1 in dtTables.Rows)
{
.
see my updated answer above.
Sanjeev Alamuri
11-Dec-12 1:53am
View
in my solution im going to add this textbox from script only. i mean when i add new row, from script im creating this text box along with other feilds. so is there any another way to do this?
Sanjeev Alamuri
5-Dec-12 1:09am
View
not possible!!!!. Please let me know y it is not possible.
Sanjeev Alamuri
28-Nov-12 23:33pm
View
It possible by reading processes from task-manager. form the task-manager i was able to read all the processes. but what i want is the browser Title or Browsers Tab URL. IF U know please let me know how to do this.
Sanjeev Alamuri
9-Nov-12 1:24am
View
Then disable back button in browser.
in master page or ASPX page add onload event to body tag.
<body önload="history.go(+1);">
it will not redirect to back page.
Sanjeev Alamuri
5-Nov-12 4:58am
View
correct one is:
Response.Redirect("~/student.aspx");
Sanjeev Alamuri
5-Nov-12 4:57am
View
http://www.codeproject.com/Answers/487906/HowplustoplusEnableplustheplusDropdownListplususin#answer1
Sanjeev Alamuri
5-Nov-12 2:17am
View
please Remove the try catch block in code then debug the code line by line, then you will get the exact line where your are facing the problem.
later you add the try catch block to your code.
Sanjeev Alamuri
5-Nov-12 2:10am
View
Remove the try catch block in code then debug the code line by line, then you will get the exact line where your are facing the problem.
later you add the try catch block to your code.
Sanjeev Alamuri
5-Nov-12 2:06am
View
public int Insert(String CustomerID, String FirstName, String LastName)
From all of your methods replace the type "String" with "string".
i hope it helps you.
Sanjeev Alamuri
5-Nov-12 2:05am
View
Deleted
public int Insert(String CustomerID, String FirstName, String LastName)
From all your methods, replce the type "String" with "string"
it may helps you.
Sanjeev Alamuri
5-Nov-12 2:03am
View
public int Insert(string CustomerID,String FirstName, string LastName), form this line replace the "String FirstName" by "string FirstName"
Sanjeev Alamuri
5-Nov-12 1:12am
View
Vijay Walunj, will post your code here. it might helpful for me.
thanks and regards,
Sanjeev
Sanjeev Alamuri
4-Nov-12 23:55pm
View
okay, after login page, you are navigating to another page. so in another page take a one session variable. when you press back button it will navigates to login page, so there check this session variable, if it is not empty or null, then display the expire content.
Sanjeev Alamuri
31-Oct-12 4:51am
View
Access to the path 'c:\inetpub\wwwroot\VS2010\Only MasterPage\extracted file\JQuery' is denied.
i can do it by changing access controls for "extracted files" folder. but i want to change the access controls(Read, Write) through code
Sanjeev Alamuri
31-Oct-12 4:43am
View
@Uday, i placed the this namespace in Namespace section, but facing same issue.
Sanjeev Alamuri
29-Oct-12 8:09am
View
Deleted
test
Sanjeev Alamuri
27-Oct-12 3:15am
View
Question is not clear. please update the question and place your code.
Sanjeev Alamuri
27-Oct-12 3:14am
View
share your code.
Sanjeev Alamuri
27-Oct-12 2:48am
View
values means the text for check box.
Every html tag contains the id and name attributes. from script u can call those html tags by using id or name.
let see the example
<div id="append" name="append">
now i can access the div in different ways as follows
document.getElementById("append");
it will return single html tags only i.e div tag only
or
document.getElementsByName("append");
it will rerun the tags which have the name "append".
"ID" is unique and but not "Name" .
Sanjeev Alamuri
20-Oct-12 2:53am
View
Use windows services.
Sanjeev Alamuri
20-Oct-12 2:47am
View
okay, but try to mention all details.
Sanjeev Alamuri
20-Oct-12 2:19am
View
Down load the code from that link and modify accordingly your requirement. if get look into the code there is an option called "onmouseover or hover". replace these options with "onmouseclick or click". then it will works you.
Sanjeev Alamuri
18-Oct-12 8:04am
View
ASP Button which resides in control.
<asp:Button ID="btnSubmit" runat="server" OnClick="btnSubmit_OnClick" Text="Click" />.
Based upon requirement im going to add the same control twice in aspx page. here for the first control the functionality is fine. but nothing is going to happen in the second.
Sanjeev Alamuri
18-Oct-12 7:57am
View
Thanks Mr. Tapan Kumar, here script is working fine. but the issue is Code side functionality is not working.
Sanjeev Alamuri
18-Oct-12 7:52am
View
ASP Button click functionality not working even though unique name and ids provided.
Sanjeev Alamuri
31-Aug-12 2:07am
View
dataTable = new DataTable();
cmd.Connection = conn;
cmd.CommandText = "SELECT * FROM tbl_TrainDetails";
ad = new SqlDataAdapter(cmd);
ad.Fill(dataTable);
List<TrainDetails> TrainD = new List<TrainDetails>();
for (int i = 0; i < dataTable.Rows.Count; i++)
{
TrainDetails td = new TrainDetails();
td.TrainNumber1 = Convert.ToInt32(dataTable.Rows[i]["TrainNumber"].ToString());
td.TrainName1 = dataTable.Rows[i]["TrainName"].ToString();
td.FromStation1 = dataTable.Rows[i]["FromStation"].ToString();
td.ToStation1 = dataTable.Rows[i]["ToStation"].ToString();
td.Depature1 = dataTable.Rows[i]["Depature"].ToString();
td.Arrival1 = dataTable.Rows[i]["Arrival"].ToString();
td.Status1 = dataTable.Rows[i]["Status"].ToString();
TrainD.Add(td);
}
Here i have to return "TrainD" list and mode type as string.
so how to set return value?
Sanjeev Alamuri
31-Aug-12 1:34am
View
Thanks @pramodhegde88. and please let me know the return value! i have a list and string!
Sanjeev Alamuri
5-Jun-12 8:50am
View
yeah i tried by using the above links already. but what i want is icon in the radwindow toolbar like 'close','Minimize','Maximize' etc. and i dont want the button in the page and final requirement is i want to print only some particular data on the radwindow only i.e not to print the buttons in the page like wise.. please help me !!!
Sanjeev Alamuri
17-May-12 9:58am
View
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="RefereClassLibrary.aspx.cs"
Inherits="BaseClassLibrary.RefereClassLibrary" %>
just i removed aspx.cs and referred the class library 'BaseClassLibrary' in page directive as above. here my class file name is 'RefereClassLibrary', and i have given same name for both aspx page and class. here CodeBehind="RefereClassLibrary.aspx.cs" same as while created the aspx page. its working finally.
thanks ED Nutting.
Sanjeev Alamuri
17-May-12 9:27am
View
Yeah, as u said is perfect but,in my project some aspx pages does not have aspx.cs files and those are accessing predefined compiled classes accordingly. can u tell me how it possible and how to create aspx page with out code behind page in VS2010.
Sanjeev Alamuri
17-May-12 8:57am
View
please, can u elaborate this concept with sample code.
thanks in advance.
Sanjeev Alamuri
17-May-12 2:08am
View
yeah all of u right but thing is different. i used telrik control and every page will be build dynamically by controls. i cant find the errors individually. so im looking for solution. if it not possible i have to look into further process.
Sanjeev Alamuri
17-May-12 2:07am
View
yeah all of u right but thing is different. i used telrik control and every page will be build dynamically by controls. i cant find the errors individually. so im looking for solution. if it not possible i have to look into further process.
Sanjeev Alamuri
4-Apr-12 3:04am
View
yeah that's right, but the ASCX files provided by some other developer and i have no rights to edit those pages, so i have to find solution with in aspx page only, is there another way to get values...?
Sanjeev Alamuri
29-Mar-12 2:03am
View
i tried it but didn't get it.
Sanjeev Alamuri
29-Mar-12 2:03am
View
VS 2010 @Uday
Sanjeev Alamuri
24-Feb-12 4:49am
View
controls will load every time if u add controls to aspx page dynamically . please check my code "AMSAssetAdd.ascx.cs". i just removed the code form save button click and placed in postback loop.
if (!IsPostBack)
{
}
else
{
Control uc = LoadControl("../ASCX/AMSBrandAdd.ascx");
PlaceHolder1.Controls.Add(uc);
}
now its working fine for Button Click Event of AMSBrandAdd.ascx.
Sanjeev Alamuri
17-Feb-12 8:20am
View
place after content tag
<asp:content ContentPlaceHolderID="ContentPlaceHolder" ID="content2" runat="server">
<SCRIPT Language='JavaScript' src='JScript.js'></SCRIPT>
...
...
...
...
// ur design
...
Sanjeev Alamuri
17-Feb-12 4:11am
View
strInput = strInput +"'strSearch':'"+strSearchType+"'";
this is the my input to webservice.
Public static string PerformSearch(string strInput )
{
//all your code
}
Sanjeev Alamuri
9-Dec-11 4:55am
View
thanks for wonderful comment.... i just realized and edited my post... thanks once again mr. smithers-jones
Show More