15,907,328 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 anjumnavid (Top 41 by date)
anjumnavid
12-Jun-13 13:48pm
View
Thanks Dave, but I am not clear how to get response stream . Also could you please be more clear about how I will send "Response Stream" via email. I have a View create Email , so creating email is not a problem .
1) how to get data back?
anjumnavid
5-Dec-12 9:24am
View
Thanks for the article but my project is different than what article explain.
anjumnavid
17-Jul-12 8:55am
View
Thanks any how!
anjumnavid
16-Jul-12 10:58am
View
Plus : not only you helped me to solve the problem but also you explained very well.
anjumnavid
16-Jul-12 10:56am
View
How can i thank you PopeDareen !!! My whole project was stuck due to this problem , I used your option two and it work perfect :) .
Thank you again. I may sound greedy , but is it possible if i have any problem in future . may i ask i you directly , is there any way ?
anjumnavid
13-Jul-12 11:27am
View
button causing a full page post ... i need full page post for the rest of the value.
After i click on button , The div i am working on will hide and 2 more hidden div become visible , which make a a call to database to update grid and my print div. in my print div i need selected date
anjumnavid
13-Jul-12 9:10am
View
Thanks for reply. This does solve my problem but i need post back on button. is any way i can save this datepicker value in var or page var , so i can get this value later ?
anjumnavid
11-Jul-12 15:20pm
View
<div id="datepicker" ></div>
<input type="text" id="datepicker_value" />
<script type="text/javascript">
$().ready(function() {
$("#datepicker").datepick(
{
onSelect: function(dateText, inst) { $("#datepicker_value").val(dateText); } });
});
Above code just work fine , only i need to change dateformat. I tried your solution ,but i still no luck.
anjumnavid
9-Jul-12 11:33am
View
Thanks every one helping me.
I have a new question. I have a Button called "Get all" , which is not part of GridView . I want get the index of all the row ,which check box is clicked.
Detail:
After my grid View load. User can click as many as check box or all the check box from the grid view. Then there is button out side the grid View called "Get All". So when user click on "Get ALL" button , i want to get all the check box clicked row index.
anjumnavid
9-Jul-12 11:33am
View
Thanks every one helping me.
I have a new question. I have a Button called "Get all" , which is not part of GridView . I want get the index of all the row ,which check box is clicked.
Detail:
After my grid View load. User can click as many as check box or all the check box from the grid view. Then there is button out side the grid View called "Get All". So when user click on "Get ALL" button , i want to get all the check box clicked row index.
anjumnavid
27-Jun-12 10:58am
View
Thanks for reply . I am getting no value in any my variable.
Can you help me y ?
If e.CommandName = "AddLine" Then
Dim rowindex As Integer = Int32.Parse(e.CommandArgument.ToString())
Dim row As GridViewRow = GV_Location.Rows(rowindex)
Dim Location_Name As String = row.Cells(0).Text.Trim()
Dim Comp_City As String = row.Cells(0).Text.Trim()
Dim Comp_State As String = row.Cells(0).Text.Trim()
Dim Comp_Address_One As String = row.Cells(0).Text.Trim()
Dim Comp_Address_Two As String = row.Cells(0).Text.Trim()
Dim Comp_Zip As String = row.Cells(0).Text.Trim()
End If
anjumnavid
29-May-12 10:51am
View
Thanks MugiwareUK ,I solved this problem but your solution is way better than mine. Thanks again.
anjumnavid
18-May-12 10:51am
View
But i did find solution which is probably not the right way to do , but as for now it working.
well on my aspx page code behind I wrote following code
Dim _usercontrol As UserControl = LoadControl("~\Usercontrols\dashboard_Employer.ascx")
EmpDashboard.Controls.Add(_usercontrol)
I remove public property of User Control EMPID , but i am passing a session variable with me value and before my control render i am getting the value from session variable i am passing to my usercontrol, And it work just the way i wanted .
But if any one has good solution please share with me.
Thanks
anjumnavid
18-May-12 10:02am
View
Thanks :) For Reply . i thought it will solve my problem but after i try using your code , i figure out this is not working. when i do _usercontrol.EMPID=1
Error .....
anjumnavid
17-May-12 11:21am
View
_usercontrol.EMPID = 1 ERROR EMPID not a member of usercontrol
anjumnavid
16-May-12 16:07pm
View
Thanks Sandeep, but after casting usercontrol type it still not exposing public property of user control
anjumnavid
15-May-12 15:43pm
View
This doesn't work.
Because i am not assigning my user control from asp page. what i am doing is :
Finding and adding my usercontrol to my parent page as follwing:
Dim MainContent As ContentPlaceHolder = TryCast(Master.FindControl("MainContent"), ContentPlaceHolder)
MainContent.Controls.Add(_usercontrol)
Next step is to pass value as you said up. but _usercontrol.valueID= 25 . Gives error
anjumnavid
15-May-12 15:27pm
View
i have property set in my user control .
I just need help to calling and passing to user control from parent page code behind
anjumnavid
14-May-12 9:28am
View
Thanks To All!
anjumnavid
19-Apr-12 8:49am
View
Thanks For the response . I found the Solution .
<asp:Content runat="server" id="leftcontent" ContentPlaceHolderID="LeftSidePanel">
<div id="mydiv" runat="server" >
<asp:LinkButton id="Lnk_Heading1" runat="server">
<asp:Label id="lbl_Date1" runat="server" >
<asp:Label id="lbl_Detail1" runat="server" >
<asp:Button ID="Button1" runat="server" Text="Button" />
</div>
Vb.net *******
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim lbl_Date As New Label
Dim i as int16
i = 20
While (i < i + 1)
lbl_Date = TryCast(Mydiv.FindControl("lbl_Date" + i.ToString), Label)
lbl_Date = "Value"
i = i + 1
End While
End Sub
Problem was , I didn't Used DIV in my aspx page . When i put my code in div and use the reference of the div then it work.
anjumnavid
18-Apr-12 15:06pm
View
Yes i asked this question elsewhere too.
Well what i am trying to do here is . i have 100 label name are lable1 to lable100. I can do like label1 =1 and label2 =2 and so on but i am trying to put in loop so i have less code. just for the Info... This code work but not in Page_Load , I am thinking every one looking to the code but this has to do with page life cycle
anjumnavid
10-Apr-12 9:37am
View
How i used popup window in usercontrol?
If Not txtphyNPI.Text = lblphyNPI.Text Then
MY POPUP CODE IS HERE
End If
I can use popup window on my aspx page, But my aspx page has a user Control and i want to use popup window in my user control. Problem is when i put code in my aspx page its work ,but i want my code in User control . when ever i put my popup window code in user control its not working.
I think its not getting references of .js files.
anjumnavid
3-Jan-12 9:27am
View
Thanks
anjumnavid
8-Aug-11 17:29pm
View
Thanks for you input. i do need all the above table for my output. RecID does not has Primary key. i am also thinking about last condition.
Your suggestion is good. i will work on it.
Thanks,
anjumnavid
8-Aug-11 16:02pm
View
i am getting data in 2010 which is also in 2011. But if they are in 2011 don't , then query should filter those record.
anjumnavid
8-Aug-11 15:31pm
View
no time component.
my query is almost work but not 100%. i would like data in between ('10/1/2010' AND '12/31/2010) BUT not in 2011.
anjumnavid
19-Jul-11 15:00pm
View
Deleted
public class ClaimAccount : UserControl
anjumnavid
19-Jul-11 14:56pm
View
FYI
i am working with SP2007.
anjumnavid
19-Jul-11 14:55pm
View
yes i did , but cant really get implementation.
anjumnavid
19-Jul-11 13:50pm
View
is it possible if you can provide little more detail on how to use security token?
Thanks
anjumnavid
28-Jun-11 8:52am
View
i am checking if user claimed there account yet . if user has claimed there account then Status of the user should be (Claimed) , if not then Status should be (unclaimed).
anjumnavid
27-Jun-11 12:09pm
View
i created a column called (Status).Now i need to add data in this column. But i don't know how i should do this? As i explained in my question . if (SP USER id)column has any kind of data ,(Status)column value should be Claimed . This list has 500 rows. so each row if (SP USER IF) column has value then (Status) column value Claimed.
anjumnavid
21-Jun-11 17:01pm
View
yes i noticed.
_rftContactMessage.ControlToValidate = txtMessage.ID;
But it still not work. Any Idea>
anjumnavid
21-Jun-11 16:05pm
View
Here is my code for one of the field.
// Message textbox
tc = new TableCell();
tc.VerticalAlign = VerticalAlign.Top;
txtMessage = new TextBox();
txtMessage.ID = "txtMessage";
txtMessage.Height = Unit.Pixel(100);
txtMessage.Width = Unit.Pixel(400);
txtMessage.TextMode = TextBoxMode.MultiLine;
txtMessage.Wrap = true;
tc.Controls.Add(txtMessage);
//Add Validator
RequiredFieldValidator _rfvContactMessage = new RequiredFieldValidator();
_rfvContactMessage.Text = "** Email Address is Required!";
_rfvContactMessage.Display = ValidatorDisplay.Dynamic;
_rfvContactMessage.ControlToValidate = _rfvContactMessage.ID;
_rfvContactMessage.ForeColor = Color.Red;
_rfvContactMessage.ValidationGroup = "Email";
tc.Controls.Add(_rfvContactMessage);
tr.Controls.Add(tc);
t.Controls.Add(tr);
anjumnavid
21-Jun-11 16:03pm
View
Thanks vivek...
i am one more question. how do i use validations in same webpart. (for example: i want no field should be empty) i know i to it in ASP.net but i am using only C# .
anjumnavid
21-Jun-11 15:36pm
View
i am not sure that i want do .
i crated a Web part , which i basically Email formatted. i have name textbox, Emailaddress textbox, phonnumber textbox , message textbox, a send button and cancel button.
Its work fine , but i want when user click on send button or cancel button it redirect to given url. But i don;t know how to do that.
anjumnavid
14-Jun-11 14:07pm
View
My Config file settings is good. All the other stuff i put on , just for the hack.
This is the original code.
string userName = Membership.GetUserNameByEmail(userEmail );
if (userName != null)
Console.WriteLine("Your UserName is: " + userName);
else
Console.WriteLine(userEmail + " is not a member of this site");
Console.ReadLine();
}
anjumnavid
14-Jun-11 11:48am
View
no i don't. emailaddress is in the database. not matter which email i put in, result is Null.
anjumnavid
16-May-11 11:27am
View
Thanks sam!
I am working on my TASK 3. "Create a section that allows the user to email SleepAccess and request personal information to be changed." How i do this one? following two steps are done. As you can see in my TASK 3. do i need to create a page for that or workflow ? As a requirement i should have a link "Email to admin" .... for that do i need to create a page , for user after click on "Email to Admin" ?
I created the link for change password and used asp.net for that.
anjumnavid
12-May-11 10:33am
View
Deleted
If i explain my situation. I am a beginner .net developer in a small company. i just got this job , but some how ending up getting a project in SP. which i don't know anything about it and my company know this. But the person use to work in SP quite. So i have a site which i need to make lot of changing. I been studying article, books and watching online video, but i am not getting any grasps on it. i even though paid a guy online to teach me, but he doesn't know what he is doing either and ending up wasting my money.
Can you please direct me in right direction or if you can provide any solution .
I will be very Thank full.
Thanks,
anjumnavid
12-May-11 9:30am
View
Thanks , Mark . Would you please let me know . Is this code will be in VS ? should i create a VS project and add this code there and deploy it .
Thanks,
Show More