15,949,686 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 .NET 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 Usha Sanjee (Top 47 by date)
Usha Sanjee
8-Feb-16 3:58am
View
I have answered that we can use conditional statments.But they need the result without any conditions.Is there predefined functions which checks the condition and return the result.
Usha Sanjee
25-Mar-15 23:44pm
View
public void Getdata()
{
org.pdfclown.documents.contents.fonts.StandardType1Font fnts=null;
FileStream streams=new FileStream("abc.pdf",FileMode.Create);
org.pdfclown.bytes. Stream pdfstream = new org.pdfclown.bytes. Stream (streams);
org.pdfclown.files.File pdf = new org.pdfclown.files.File();
org.pdfclown.documents.Page page = new org.pdfclown.documents.Page(pdf.Document);
pdf.Document.Pages.Add(page);
// fnts=new StandardType1Font(pdf, org.pdfclown.documents.contents.fonts.StandardType1Font.FamilyEnum.Times, false, false);
org.pdfclown.documents.contents.fonts.StandardType1Font fonts = new(pdf, org.pdfclown.documents.contents.fonts.StandardType1Font.FamilyEnum.Times, false, false);
org.pdfclown.documents.contents.composition.PrimitiveComposer composer=new org.pdfclown.documents.contents.composition.PrimitiveComposer(page);
org.pdfclown.documents.contents.composition.BlockComposer blockComposer = new org.pdfclown.documents.contents.composition.BlockComposer(composer);
//blockComposer.Begin( org.pdfclown.documents.contents Drawing. RectangleF (230, 400, 200, 200), composition. XAlignmentEnum .Left, composition. YAlignmentEnum .Top)
blockComposer.ShowText("This is Usha sanjee");
//composer.SetFont(subtitleFont, 20);
composer.SetFillColor( org.pdfclown.documents.contents.colorSpaces.DeviceRGBColor.Black);
blockComposer.ShowText("test");
blockComposer.End();
composer.Flush();
pdf.Save(pdfstream, org.pdfclown.files.SerializationModeEnum.Standard);
}
This is one of the code I have tried
Usha Sanjee
23-Sep-14 7:37am
View
Yes. But It didn't worked out.
Usha Sanjee
23-Sep-14 4:58am
View
I tried a lot to get out from it.But not able to find,so for last option I posted here,Now I'm going to redisgn the whole. Anyway Thanks.
Usha Sanjee
3-Sep-14 7:59am
View
yes In browser its showing empty page
Usha Sanjee
3-Sep-14 7:54am
View
I also tried with Absolute, but not able to load any video
Uri uri1 = new Uri("http://techslides.com/demos/sample-videos/small.webm", UriKind.Absolute);
playVideos.Source =uri1;
Usha Sanjee
3-Sep-14 4:31am
View
It is a silverlight application. As we know there will be a web also. so here I'm taking a aspx page and using a Media player control to play the video.
When user clicks on a hyperlink in silverlight.I'm navigating to this web page and need to display the video, In that same page.
This is how I'm working...
Usha Sanjee
3-Sep-14 2:00am
View
Any suggestions plz...
Usha Sanjee
3-Sep-14 1:47am
View
I tried with uri like this..
playVideos.Source = new Uri("http://channel9.msdn.com/coding4fun/articles/MissionControl-A-Flexible-API-for-Remote-Device-Control", UriKind.Relative);
Im getting following error.
A relative URI cannot be created because the 'uriString' parameter represents an absolute URI.
When i chnage like this
playVideos.Source = new Uri("MissionControl_mid.mp4", UriKind.Relative);
It works
here the video (MissionControl_mid.mp4) is saved in my project in clienbin.
So my problem is instead of giving the video which is my project. I wanna give direct url there...
Usha Sanjee
3-Sep-14 0:37am
View
yeah i agree with conversion of video which supports to my browser but one issue im facing here it is I cant able to play a video with direct link. I need to save it in solution. Is it possible to play a video with dirct link i give
mediaelement.source="http://channel9.msdn.com/coding4fun/articles/MissionControl-A-Flexible-API-for-Remote-Device-Control";
like this.
Any suggestions plz
Usha Sanjee
5-Aug-14 6:47am
View
Thnks, But i dnt wanna go for iTextsharp.thats the problem. My doubt is why background style is not applying when all other styles are working there.
Usha Sanjee
31-Jul-14 8:27am
View
Its 32. The issue is solved i Replaced the Dll.
Anyway Thnk u
Usha Sanjee
20-Jun-14 3:06am
View
how do i know the device of client
Usha Sanjee
20-Jun-14 2:59am
View
it giving me the mac address of my system not the client
Usha Sanjee
20-Jun-14 2:56am
View
It giving me the name of the system. But i need which device the client is using.Its the device name
Usha Sanjee
20-Jun-14 2:51am
View
.net silverlight,its website
Usha Sanjee
19-Jun-14 7:20am
View
Its working ..:)
Usha Sanjee
10-Jun-14 0:08am
View
<script>
$(document).ready(function () {
var source = {
datatype: "json",
datafields: [{ name: 'ID' }, { name: 'Name' },
{ name: 'Email' }, { name: 'Address' }, { name: 'Contact' }],
url: "WebForm2.aspx/Grid"
};
debugger;
var dataAdapter = new $.jqx.dataAdapter(jsondata);
$("#jqxgrid").empty();
$("#jqxgrid").jqxGrid(
{
width: 670,
source: dataAdapter,
columnsresize: true,
showstatusbar: true,
columns:
[
{ text: 'ID', dataField: 'ID', width: 250 },
{ text: 'Name', dataField: 'Name', width: 250 },
{ text: 'Email', dataField: 'Email', width: 150 },
{ text: 'Address', dataField: 'Address', width: 180 },
{ text: 'Contact', dataField: 'Contact', width: 80 }
]
});
});
});
</script>
<div id="jqxgrid">
</div>
This is aspx code
Usha Sanjee
9-Jun-14 8:37am
View
I worked on the solution u have given its perfect but the problem is I'm working on third party control.I'm not able to achieve the solution u provided me for that.And also the columns or data what ever it should be from code behind.Plz look at tz link
http://stackoverflow.com/questions/10612887/jqxgrid-with-sql-binding-and-largejsonresult-is-empty
which apt to my problem.
Usha Sanjee
6-Jun-14 6:35am
View
[WebMethod(EnableSession = false)]
public static string Grid()
{
DataTable dtFormsData = new DataTable();
DataSet dtFormsDataset = new DataSet();
dtFormsDataset = new DataSet();
dtFormsData = new DataTable();
dtFormsData.Columns.Add("ID");
dtFormsData.Columns.Add("Name");
dtFormsData.Columns.Add("Email");
dtFormsData.Columns.Add("Address");
dtFormsData.Columns.Add("Contact");
dtFormsData.Rows.Add(1,"Usha", "Usha@Kp.com", "Chennai", "Kp@guntakal");
dtFormsData.Rows.Add(2,"Chaitu", "ChaituKp@gmail.com", "Chennai", "ChaituKurava@gmail.com");
dtFormsData.Rows.Add(3,"UshaSanjee", "Ushasanjee@gmail.com", "Hyderabad", "Hyderabad");
dtFormsData.Rows.Add(4,"ChaituKP", "chaitu@gmail.com", "Chennai", "Cheenai");
dtFormsDataset.Tables.Add(dtFormsData);
//string result = DataSetToJSON(dtFormsDataset);
string result = GetJson(dtFormsData);
return result;
}
public static string GetJson(DataTable dt)
{
System.Web.Script.Serialization.JavaScriptSerializer serializer = new
System.Web.Script.Serialization.JavaScriptSerializer();
List<dictionary<string, object="">> rows =
new List<dictionary<string, object="">>();
Dictionary<string, object=""> row = null;
foreach (DataRow dr in dt.Rows)
{
row = new Dictionary<string, object="">();
foreach (DataColumn col in dt.Columns)
{
row.Add(col.ColumnName.Trim(), dr[col]);
}
rows.Add(row);
}
return serializer.Serialize(rows);
}
Plz look at this.Tz my web method code
Usha Sanjee
6-Jun-14 3:59am
View
I'm getting the Json data but on browser it is showing me a window (Loading.....)
my html page is
<script>
$(document).ready(function(){
var datas = $.ajax({
type: "POST",
contentType: "application/json; charset=utf-8",
url: "WebForm2.aspx/Grid",
data: "{}",
dataType: "json",
global: false,
async: false,
success: function (data) {
var data = $.parseJSON(data.d);
},
error: function (result) {
alert("error");
}
}).responseText;
alert(datas);
var dataAdapter = new $.jqx.dataAdapter(datas);
$("#jqxgrid").jqxGrid(
{
width: 670,
source:dataAdapter ,
//theme: theme,
theme:'classic',
columnsresize: true,
columns: [
{ text: 'Name', dataField: 'Name', width: 250 },
{ text: 'Email', dataField: 'Email', width: 150 },
{ text: 'Address', dataField: 'Address', width: 180 },
{ text: 'Contact', dataField: 'Contact', width: 80 }
]
//columns: columns
});
});
</script>
Usha Sanjee
28-May-14 8:20am
View
Is any control with textbox and multi select checkbox
Usha Sanjee
28-May-14 5:26am
View
k.Atleast autocomplete ,dropdown multiselect checkbox in the header template
Usha Sanjee
19-May-14 8:20am
View
Thnk u so much ..:) The issue is closed
Usha Sanjee
19-May-14 6:30am
View
I pasted the code as u said
tz is DropDownCheckBoxes link
http://dropdowncheckboxes.codeplex.com/
Sry for inconvenience
Usha Sanjee
19-May-14 6:08am
View
null reference error same as first
Usha Sanjee
19-May-14 6:00am
View
No it's not moving to that loop. Tz the code in row databound event
if (GridView1.HeaderRow != null)
{
if ((e.Row.RowState & DataControlRowState.Edit) > 0)
{
//bind code
}
}
Usha Sanjee
19-May-14 5:50am
View
Here is my code it is not entering in to the loop in either u have suggested
if (e.Row.RowType == DataControlRowType.Header)
{
if (GridView1.HeaderRow != null)
{
//if ((e.Row.RowState & DataControlRowState.Edit) > 0)
//{
dt = new DataTable();
DropDownCheckBoxes ddl = (e.Row.FindControl("DdlDevID") as DropDownCheckBoxes);
DropDownCheckBoxes DevNme = (e.Row.FindControl("DdldevNme") as DropDownCheckBoxes);
DropDownCheckBoxes DevType = (e.Row.FindControl("DdldevType") as DropDownCheckBoxes);
dt = bal.Bindgrid();
// var data = dt.AsEnumerable().Select(r => r.Field<string>("deviation_id")).ToArray();
if (dt != null)
{
ddl.DataSource = dt;
ddl.DataTextField = "deviation_id";
ddl.DataValueField = "deviation_id";
ddl.DataBind();
DevNme.DataSource = dt;
DevNme.DataTextField = "deviation_name";
ddl.DataValueField = "deviation_name";
DevNme.DataBind();
DevType .DataSource = dt;
DevType.DataTextField = "deviation_type";
ddl.DataValueField = "deviation_type";
DevType.DataBind();
}
}
}
Usha Sanjee
19-May-14 5:23am
View
I placed tz in header template field
<asp:TemplateField >
<HeaderTemplate>
<asp:LinkButton ID="LnkDevID" runat="server" Text="Deviation ID" CommandName="Sort" CommandArgument="deviation_id" >
<asp:DropDownCheckBoxes ID="DdlDevID" runat="server">
</HeaderTemplate>
when im trying to bind the data to dropdowncheckbox control it is not going to that tz loop
if ((e.Row.RowState & DataControlRowState.Edit) > 0)
{
}
Usha Sanjee
19-May-14 5:12am
View
Deleted
its myself voted that i forget to Accept it.
Usha Sanjee
19-May-14 5:09am
View
Deleted
yes its working
Usha Sanjee
19-May-14 4:58am
View
Deleted
Thnk u
Usha Sanjee
9-May-14 4:05am
View
thank u i got it.
Usha Sanjee
8-May-14 1:00am
View
sry i forgot to keep it. and thanks i got the solution for this
Usha Sanjee
17-Dec-13 0:38am
View
Im trying partial view but when i use 2 models in one view i getting error then i foolowed this
http://stackoverflow.com/questions/5550627/two-models-in-one-view-in-asp-mvc-3
But again im getting this error
'MVC4.Models.MainPageModel' does not contain a definition for 'FirstName' and no extension method 'FirstName' accepting a first argument
Here the model is not able to recogonize i hope how could i solve this issue
Usha Sanjee
13-Dec-13 23:56pm
View
welcome user username changepassword
home aboutus contactus
content
Footer
here i need to maintain the username at top rightside how could i do this.
I tried to pass the data of username in index control but it visible only in index view not in others i hope its because im tried to getting the data from index control not from other action controls.
I lisened about filters concept these are useful to write the logics before or after the actions so i thought it may use. But i dnt knw which type of filters to use or how to use that to my requirment. (I'm using MVC4)
Usha Sanjee
8-Oct-13 2:58am
View
And also i noticed from the code you have posted it showing me print preview when i press on print button it should show me the page view(how many copies i need page size etc...)but it not showing me that
Usha Sanjee
8-Oct-13 1:30am
View
its working but I'm using Foxit reader for virtual printer it is showing me same as i said above
it shows me a print preview when i click on print it shows me a pop up
Page 1 of document and a cancel button at the same time a window to select file which as like upload or attach files
Usha Sanjee
21-Sep-13 0:47am
View
if i place OnClientActiveTabChanged attribute I'm not able to load the tab control when page loads it looks empty
Usha Sanjee
20-Sep-13 8:19am
View
No there were no errors in it
Usha Sanjee
20-Sep-13 7:55am
View
no I'm geeting the alert which is in the click function but I'm not able to disable the tab.here I'm already clicking tabpanel1 so is this the reason I'm not able to disable this tab
Usha Sanjee
31-Aug-13 1:54am
View
the user typed in a text box A+ blood group. I want to bind a grid on another page based on the textbox value. so i used a response.redirect and request querystring
Usha Sanjee
18-Aug-13 11:48am
View
can u suggest me jquery which scroll the data automatically when page loads and when i place the mouse on the scrolling data it should stop scrolling
can u help me plz
Usha Sanjee
18-Aug-13 4:50am
View
I am trying to scroll a div automatically when page load by using jquery but i am not able to get the result exactly
Usha Sanjee
12-Aug-13 7:34am
View
ID is an integer field
Usha Sanjee
21-Jul-13 2:07am
View
this is possible with vb.net i just want to do with asp.net so i need how to work for it plz help me if u have any ideas
Usha Sanjee
21-Jul-13 2:00am
View
plz if u knw tell me other wise suggest me its not possible with this we are just beginners not experts like u guys i hope u got it
Show More