Click here to Skip to main content
15,861,366 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: chat application Pin
Abhishek Sur9-Nov-09 21:17
professionalAbhishek Sur9-Nov-09 21:17 
AnswerRe: chat application Pin
The Man from U.N.C.L.E.9-Nov-09 7:14
The Man from U.N.C.L.E.9-Nov-09 7:14 
QuestionASP.NET AJAX Postback Not Updating DOM? Pin
Shawn Souto9-Nov-09 5:55
Shawn Souto9-Nov-09 5:55 
GeneralCould this be a "typo"`? Pin
student_rhr9-Nov-09 12:49
student_rhr9-Nov-09 12:49 
GeneralRe: Could this be a "typo"`? [modified] Pin
Shawn Souto9-Nov-09 13:38
Shawn Souto9-Nov-09 13:38 
GeneralRe: Could this be a "typo"`? Pin
student_rhr10-Nov-09 5:37
student_rhr10-Nov-09 5:37 
GeneralRe: Could this be a "typo"`? Pin
Shawn Souto10-Nov-09 8:42
Shawn Souto10-Nov-09 8:42 
QuestionHow can I modify rows(xx) displayed in MultiLine Textbox datagridtemplate-itemtemplate dynamically Pin
rickqu9-Nov-09 4:58
rickqu9-Nov-09 4: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 3:56
Member 47041439-Nov-09 3:56 
AnswerRe: Notificate by sending an email automatically Pin
Gamzun9-Nov-09 4:03
Gamzun9-Nov-09 4:03 
AnswerRe: Notificate by sending an email automatically Pin
Parwej Ahamad9-Nov-09 4:03
professionalParwej Ahamad9-Nov-09 4:03 
GeneralRe: Notificate by sending an email automatically Pin
Member 47041439-Nov-09 4:32
Member 47041439-Nov-09 4:32 
GeneralRe: Notificate by sending an email automatically Pin
Parwej Ahamad9-Nov-09 4:51
professionalParwej Ahamad9-Nov-09 4:51 
GeneralRe: Notificate by sending an email automatically Pin
N a v a n e e t h9-Nov-09 5:36
N a v a n e e t h9-Nov-09 5:36 
AnswerRe: Notificate by sending an email automatically Pin
RyanEK9-Nov-09 13:49
RyanEK9-Nov-09 13:49 
QuestionHow to play the .vox file in browser. Using C# with Asp.net 2.0 Pin
bruze9-Nov-09 3:52
bruze9-Nov-09 3:52 
AnswerRe: How to play the .vox file in browser. Using C# with Asp.net 2.0 Pin
Richard MacCutchan9-Nov-09 3:56
mveRichard MacCutchan9-Nov-09 3:56 
GeneralRe: How to play the .vox file in browser. Using C# with Asp.net 2.0 Pin
bruze9-Nov-09 4:07
bruze9-Nov-09 4:07 
GeneralRe: How to play the .vox file in browser. Using C# with Asp.net 2.0 Pin
Richard MacCutchan9-Nov-09 4:16
mveRichard MacCutchan9-Nov-09 4:16 
GeneralRe: How to play the .vox file in browser. Using C# with Asp.net 2.0 Pin
bruze9-Nov-09 4:26
bruze9-Nov-09 4:26 
Questionhow Assemblies load after publish of code [modified] Pin
gangisetti.sarath9-Nov-09 2:12
gangisetti.sarath9-Nov-09 2:12 
QuestionForce logout. Pin
gerrybrennan9-Nov-09 1:57
gerrybrennan9-Nov-09 1:57 
AnswerRe: Force logout. Pin
dan!sh 9-Nov-09 3:13
professional dan!sh 9-Nov-09 3:13 
AnswerRe: Force logout. Pin
Abhishek Sur9-Nov-09 7:10
professionalAbhishek Sur9-Nov-09 7:10 
GeneralRe: Force logout. Pin
dan!sh 9-Nov-09 18:43
professional dan!sh 9-Nov-09 18: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.