Click here to Skip to main content
15,895,142 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: URL rewrite Pin
C. L. Phillip26-Aug-08 8:52
C. L. Phillip26-Aug-08 8:52 
QuestionProblem with page post back Pin
Gretna26-Aug-08 4:44
Gretna26-Aug-08 4:44 
AnswerRe: Problem with page post back Pin
Christian Graus26-Aug-08 11:45
protectorChristian Graus26-Aug-08 11:45 
GeneralRe: Problem with page post back Pin
Gretna26-Aug-08 23:45
Gretna26-Aug-08 23:45 
QuestionASP.net 1.1 to 2.0 Migration Issue(of xsd files) Pin
pashitech26-Aug-08 4:43
pashitech26-Aug-08 4:43 
Questionweb service error Pin
arkiboys26-Aug-08 4:15
arkiboys26-Aug-08 4:15 
AnswerRe: web service error Pin
LongRange.Shooter26-Aug-08 10:06
LongRange.Shooter26-Aug-08 10:06 
QuestionBind("") for sub objects Pin
Brendan Vogt26-Aug-08 3:55
Brendan Vogt26-Aug-08 3:55 
Hi,

My grid is loaded like this:

private void LoadCommunication()
{
int _ClientId = Int32.Parse(Request.QueryString["ClientId"]);
List<Communication> communications = CommunicationManager.QueryCommunicationsByClientId(_ClientId);

rgCommunications.DataSource = communications;
rgCommunications.DataBind();
}

In each Communication class there is a reference to the Title class. So if I need to access the TitleID property, then it would be something like:

Communication.Title.TitleID

The object datasource in my .aspx file to load the titles looks like:

<asp:ObjectDataSource
ID="odsTitles"
TypeName="Nedbank.Excon.Lookup.TitleManager"
SelectMethod="GetTitles"
runat="server>
</asp:ObjectDataSource>

I know that my error is here in my drop down:

SelectedValue='<%# Bind("Titles") %>'

..but I do not know how to fix it, or make it work. There is no Titles property. I'm assuming they are looking for the Title.TitleID? This does not work in Bind("Title.TitleID"). I did read the sample applications.

Please can someone advise..

Thanks
Brendan
AnswerRe: Bind("") for sub objects Pin
Gamzun1-Sep-08 21:43
Gamzun1-Sep-08 21:43 
QuestionCrystal Report - Toolbar navigation vanishes the viewer! Pin
Blumen26-Aug-08 2:59
Blumen26-Aug-08 2:59 
AnswerRe: Crystal Report - Toolbar navigation vanishes the viewer! Pin
Blumen26-Aug-08 3:37
Blumen26-Aug-08 3:37 
GeneralRe: Crystal Report - Toolbar navigation vanishes the viewer! Pin
Mohammad Al Hoss26-Aug-08 3:51
Mohammad Al Hoss26-Aug-08 3:51 
GeneralRe: Crystal Report - Toolbar navigation vanishes the viewer! Pin
Blumen26-Aug-08 18:40
Blumen26-Aug-08 18:40 
Questionflash in asp.net Pin
Subin Alex26-Aug-08 1:59
Subin Alex26-Aug-08 1:59 
AnswerRe: flash in asp.net Pin
AhsanS26-Aug-08 2:04
AhsanS26-Aug-08 2:04 
AnswerRe: flash in asp.net Pin
Subin Alex26-Aug-08 2:12
Subin Alex26-Aug-08 2:12 
GeneralRe: flash in asp.net Pin
AhsanS26-Aug-08 18:00
AhsanS26-Aug-08 18:00 
Questionbypass microsoft confirm message box when opening a file Pin
eyeseetee26-Aug-08 1:01
eyeseetee26-Aug-08 1:01 
AnswerRe: bypass microsoft confirm message box when opening a file Pin
Christian Graus26-Aug-08 1:18
protectorChristian Graus26-Aug-08 1:18 
GeneralRe: bypass microsoft confirm message box when opening a file Pin
eyeseetee26-Aug-08 1:27
eyeseetee26-Aug-08 1:27 
QuestionLinkbutton not added to table cell dyanmically problem Pin
Rameez Raja26-Aug-08 0:49
Rameez Raja26-Aug-08 0:49 
QuestionWhat is post back in asp.net Pin
Member 320956826-Aug-08 0:34
Member 320956826-Aug-08 0:34 
AnswerRe: What is post back in asp.net Pin
Christian Graus26-Aug-08 0:49
protectorChristian Graus26-Aug-08 0:49 
QuestionReading values from unformatted xml string Pin
indian14325-Aug-08 23:43
indian14325-Aug-08 23:43 
AnswerRe: Reading values from unformatted xml string Pin
Christian Graus26-Aug-08 0:30
protectorChristian Graus26-Aug-08 0:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.