|
This can be done through css. Maybe this[^] can help you.
जय हिंद
|
|
|
|
|
Hello there,
I am having a query regarding my N-layer ASP.Net application.
Suppose, I am having following projects -
- PTS.Web (Web Application)
- PTS.BLL (Business Layer Class Library)
- PTS.DAL (Data Access Class Library)
Now, as I will need ENTITY object to move data between the layers.
Where do you suggest should I create the class for my entity objects?
Should I put them in PTS.Bll or
should I create an extra class library with the name say, PTS.Common (with reference of PTS.Common added to all other projects)?
Could you please provide any idea backed up by some good reason.
Thanks in advance!
|
|
|
|
|
|
Hi,
I want to use Multiple Validation Summary in a single page(form). I want to use validation Summary for Selected validators.
Thanks !
|
|
|
|
|
You have to make sure that the Property "Error Message" has Something to be displayed
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.somee.com
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
you can use it. find here[^]
Education is not a way to escape poverty — it is a way of fighting it.
|
|
|
|
|
I wanna know what exactly way behind the pre class of CP. I mean if we resize the browser then pre tag also resize plus if the text inside it is bigger then it get hori-scrollbars too.
I'm trying the same but scrollbars never appears
pre
{
overflow: auto;
background-color: #666666;
width : 100%
}
any idea ?
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKQUFK[M`UKs*$GwU#QDXBER@CBN%
R0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
-----------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
Hello,
I am trying to display in a Dynamic Data app, a custom property added to the partial class of an ADO.NET Entity Framework entity class.
For example, where Person is a entity in a ADO.NET Entity Framework model, I would add:
public partial class Person
{
public string FullName { get { return FirstName + " " + LastName; } }
}
However, with Dynamic Data, it uses the internal System.Web.DynamicData.ModelProviders.EFTableProvider for generating its columns collection which only allows properties defined in the entity model to be displayed - as in only the database columns, not custom added ones.
Does anyone know any work arounds to this, or is it possible and I am missing something obvious.
Seems silly I can't do this. LINQ to SQL with Dynamic Data can do this easy as it uses reflection in its DLinqTableProvider to find all properties in the object, not just those with mappings to database fields.
EFTableProvider's enumerator to create its columns for Dynamic Data:
foreach (EdmMember member in entityType.get_Members()) // only entity DB mapped fields are returned in the Members property
DLinqTableProvider's enumerator to create its columns for Dynamic Data:
IEnumerator<PropertyInfo> enumerator = this.GetOrderedProperties(rowType.get_Type()).GetEnumerator()
where GetOrderedProperties returns a list of properties based on reflection:
PropertyInfo[] properties = type.GetProperties(BindingFlags.Public | BindingFlags.Instance | BindingFlags.DeclaredOnly);
Anyone have any thoughts on how to do this effectively?
I need the many-to-many relationship management that Entity Framework provides - otherwise I would stick with LINQ to SQL.
Thanks for any help!
Cheers,
kris
|
|
|
|
|
Why are you adding the custom property? If it is to use in the DisplayColumn metadata attribute, you can override ToString on your entity to return the full name, and remove the DisplayColumn attribute, and the ToString value will be used instead for FK displays.
|
|
|
|
|
I am trying to acheive the same goal. However, when I try and access one of the properties from the entity model that I have configured I get the following error message:
Server Error in '/' Application.
--------------------------------------------------------------------------------
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS1061: 'Contracts.CONTRACT_PERIOD' does not contain a definition for 'start_date' and no extension method 'start_date' accepting a first argument of type 'Contracts.CONTRACT_PERIOD' could be found (are you missing a using directive or an assembly reference?)
Source Error:
Line 39: StringBuilder sb = new StringBuilder();
Line 40: sb.Append("(");
Line 41: sb.Append(this.start_date.ToShortDateString());
Line 42: sb.Append(" - ");
Line 43: sb.Append(this.end_date.ToShortDateString());
Source File: c:\Documents and Settings\...\My Documents\Visual Studio 2010\Projects\...\Contracts\App_Code\Metadata.cs Line: 41
|
|
|
|
|
Hey! Same problem here... Can't believe adding calculated properties can be so hard or even not supported...
Found any solution to this?
Martin
|
|
|
|
|
Hi freinds
I want to implement rating in my project.
in which i want to allow user to give rating for particular user.
my problem is that i want to allow half(50) rating selection to user.
if i m using asp.net ajax control then it will not allow me to select
half star?
so is their other way or other rating control which allow half star selection?
if yer please let me know?
thanks
Regards
Keyur Satyadev
|
|
|
|
|
|
hi
i want to use half rating in image for rate and also showing half image for showing rating.
i know your asp.net ajax rating control but it not allow half rating.
so please refer question and then reply.
ok
Regards
Keyur Satyadev
|
|
|
|
|
keyur satyadev wrote: so please refer question and then reply.
What more do you want? Do you want someone to write it for you? Read the damn articles! Do something for yourself.
only two letters away from being an asset
|
|
|
|
|
i am not telling u that give me the code. just want to know how can we able to implement this.
so thier is no question of writing the code. :
by the way thanks.
Regards
Keyur Satyadev
modified on Thursday, June 18, 2009 9:27 AM
|
|
|
|
|
|
it will not allow user to give half rating for particular user.
thanks for reply.
Regards
Keyur Satyadev
|
|
|
|
|
What is it that you want? This, and the other examples provided to you, do allow half ratings.
Stop asking and start doing!
only two letters away from being an asset
|
|
|
|
|
set count star to 10 and when you give 5 then it will be half.
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKQUFK[M`UKs*$GwU#QDXBER@CBN%
R0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
-----------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
keyur satyadev wrote: it will not allow user to give half rating for particular user
Did you read this article?
|
|
|
|
|
Hi,
How to check a session is null?
Thankyou
YPKI
|
|
|
|
|
if (Session["XYZ"] == null)
{
}
himanshu
|
|
|
|
|
Or in VB.Net
If Session("XYZ")=Nothing Then
End If
CC26
|
|
|
|
|
C#
---------------------------
if (Session["user"] == null)<br />
{<br />
<br />
}
living none stoping.
|
|
|
|