Click here to Skip to main content
15,793,118 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: chat application Pin
Abhishek Sur9-Nov-09 22:17
professionalAbhishek Sur9-Nov-09 22:17 
AnswerRe: chat application Pin
The Man from U.N.C.L.E.9-Nov-09 8:14
The Man from U.N.C.L.E.9-Nov-09 8:14 
QuestionASP.NET AJAX Postback Not Updating DOM? Pin
Shawn Souto9-Nov-09 6:55
Shawn Souto9-Nov-09 6:55 
GeneralCould this be a "typo"`? Pin
student_rhr9-Nov-09 13:49
student_rhr9-Nov-09 13:49 
GeneralRe: Could this be a "typo"`? [modified] Pin
Shawn Souto9-Nov-09 14:38
Shawn Souto9-Nov-09 14:38 
GeneralRe: Could this be a "typo"`? Pin
student_rhr10-Nov-09 6:37
student_rhr10-Nov-09 6:37 
GeneralRe: Could this be a "typo"`? Pin
Shawn Souto10-Nov-09 9:42
Shawn Souto10-Nov-09 9:42 
QuestionHow can I modify rows(xx) displayed in MultiLine Textbox datagridtemplate-itemtemplate dynamically Pin
rickqu9-Nov-09 5:58
rickqu9-Nov-09 5:58 
Hi. I have a datagrid templatecolumn itemtemplate that I wish to set the rows according to the output row count from sql db. Rows count.

I have this on the html side which is generic.
-----------------------------------------------------------
<asp:TemplateColumn HeaderText="Comment2">
<HeaderStyle Width="300pt"></HeaderStyle>
<ItemStyle HorizontalAlign="Left" ForeColor="#CC0000" VerticalAlign="Top"></ItemStyle>
<ItemTemplate>
<asp:TextBox id=Textbox1 runat="server" Width="450px" Text='<%# DataBinder.Eval(Container, "DataItem.Comment") %>' BackColor="Transparent" BorderStyle="None" TextMode="MultiLine">
</asp:TextBox>
</ItemTemplate>
-----------------------------------------------------------------------

This is from the "with datagrid1" at page load

With DataGrid1
Dim cc as Integer
cc = DsgccV11.GCComents.Rows.Count()' Row count from sql
.AllowPaging = True
.PagerStyle.Mode = PagerMode.NextPrev
.PageSize = 25
.Items(1).Cells(3).Height.Point(cc)
.Items(1).Cells(3).Wrap = True
End With

I gather the row count as shown in line (cc = DsgccV11.GCComents.Rows.Count()) This works fine. What I need to do is use the output cc number to set the "rows" for the (asp:TextBox id=Textbox1) property within the (TemplateColumn.ItemTemplate)

Help is greatly appreciated.

Thanks

Rick

QuestionNotificate by sending an email automatically Pin
Member 47041439-Nov-09 4:56
Member 47041439-Nov-09 4:56 
AnswerRe: Notificate by sending an email automatically Pin
Gamzun9-Nov-09 5:03
Gamzun9-Nov-09 5:03 
AnswerRe: Notificate by sending an email automatically Pin
Parwej Ahamad9-Nov-09 5:03
professionalParwej Ahamad9-Nov-09 5:03 
GeneralRe: Notificate by sending an email automatically Pin
Member 47041439-Nov-09 5:32
Member 47041439-Nov-09 5:32 
GeneralRe: Notificate by sending an email automatically Pin
Parwej Ahamad9-Nov-09 5:51
professionalParwej Ahamad9-Nov-09 5:51 
GeneralRe: Notificate by sending an email automatically Pin
N a v a n e e t h9-Nov-09 6:36
N a v a n e e t h9-Nov-09 6:36 
AnswerRe: Notificate by sending an email automatically Pin
RyanEK9-Nov-09 14:49
RyanEK9-Nov-09 14:49 
QuestionHow to play the .vox file in browser. Using C# with Asp.net 2.0 Pin
bruze9-Nov-09 4:52
bruze9-Nov-09 4:52 
AnswerRe: How to play the .vox file in browser. Using C# with Asp.net 2.0 Pin
Richard MacCutchan9-Nov-09 4:56
mveRichard MacCutchan9-Nov-09 4:56 
GeneralRe: How to play the .vox file in browser. Using C# with Asp.net 2.0 Pin
bruze9-Nov-09 5:07
bruze9-Nov-09 5:07 
GeneralRe: How to play the .vox file in browser. Using C# with Asp.net 2.0 Pin
Richard MacCutchan9-Nov-09 5:16
mveRichard MacCutchan9-Nov-09 5:16 
GeneralRe: How to play the .vox file in browser. Using C# with Asp.net 2.0 Pin
bruze9-Nov-09 5:26
bruze9-Nov-09 5:26 
Questionhow Assemblies load after publish of code [modified] Pin
gangisetti.sarath9-Nov-09 3:12
gangisetti.sarath9-Nov-09 3:12 
QuestionForce logout. Pin
gerrybrennan9-Nov-09 2:57
gerrybrennan9-Nov-09 2:57 
AnswerRe: Force logout. Pin
dan!sh 9-Nov-09 4:13
professional dan!sh 9-Nov-09 4:13 
AnswerRe: Force logout. Pin
Abhishek Sur9-Nov-09 8:10
professionalAbhishek Sur9-Nov-09 8:10 
GeneralRe: Force logout. Pin
dan!sh 9-Nov-09 19:43
professional dan!sh 9-Nov-09 19:43 

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.