|
Try adding a dive controla and try set its innerHTML to gridMarkUP, or label.Text
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
I am creating a web component(not website ya) actually and I need to get the HTML standard of my client in a class..Base.Render is a good way but I can't get it works in my component..
|
|
|
|
|
Your question doesn't make any sense to me. What do you mean by getting the DOCTYPE of client ? Are you trying to get the DOCTYPE of another website from your control ?
|
|
|
|
|
Yes can be said so. User use my component, and in my component I need to rewrite the HTML standard..
|
|
|
|
|
i have a web app. it have a module manager file.
When i rename,delete: folder ,file -> lost session
can you help fix this error?
|
|
|
|
|
Hi all,
I am having a datagrid as follows
<asp:datagrid id="dgResources" runat="server" ShowHeader="False" PageSize="23" GridLines="None"
AllowPaging="True" AutoGenerateColumns="False">
<Columns>
<asp:TemplateColumn>
<ItemTemplate>
<asp:CheckBox ID="chkResource_First" Runat="server"></asp:CheckBox>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn>
<ItemTemplate>
<asp:HyperLink ID="lblResource_First" Runat="server"></asp:HyperLink>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn>
<ItemTemplate>
<asp:CheckBox ID="chkResource_Second" Runat="server"></asp:CheckBox>
</ItemTemplate>
</asp:TemplateColumn>
<asp:TemplateColumn>
<ItemTemplate>
<asp:HyperLink ID="lblResource_Second" Runat="server" CssClass="DataLight"></asp:HyperLink>
</ItemTemplate>
</asp:TemplateColumn>
</Columns>
<PagerStyle VerticalAlign="Middle" NextPageText="Next" PrevPageText="Previous" HorizontalAlign="Right"
Position="Bottom"></PagerStyle>
</asp:datagrid>
Now I want to add table inside the ItemTemplate. Because I have common style sheet which applies css for the rows of the style sheet. How can I
Thanks in Advance
Dana
|
|
|
|
|
<asp:templatecolumn>
<itemtemplate>
<table class="YouCss">
<tr>
<td></td>
</tr>
</table>
</itemtemplate>
</asp:templatecolumn>
Is this how you are looking ?
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
Thank you Laddie
|
|
|
|
|
Hi friends
I need to upload my product data to bizrate/shopzilla.com using their ftp website.
can I access others ftp website using ASP.net code and upload my products details
Thanking you,
Laxmikant
|
|
|
|
|
Yes
You may use the WebRequestMethod.FTP class in System.net namespace.
Laddie
|
|
|
|
|
Laxmikant Lad wrote: can I access others ftp website using ASP.net code and upload my products details
Try using WebClient class. It provides methods to upload/download data and files.
|
|
|
|
|
I have a gridview with template fields one of those fields is link button. I want to fire the event associated with that link button (myGrid_RowCommand) programatically on a button click. Also in RowCommand event handler I check some e.CommmandName. This button is lying outside the grid. Would anybody please help me regarding this.
Regards,
Kamran Rao
|
|
|
|
|
Hi all, thanks for looking
Im implemmenting something like an online store
As all the online stores do, i need to implement the "Continue shopping button" after adding a product
I know that i could use something like ContinueLink.NavigateUrl = Request.UrlReferrer.ToString and it could take me to the previous page, but imagine that some sorting and filtering could have been applied to the product listing before adding a product and i would have to show the products the same way thay were showing before they added the product to the cart
I could store filter and sorting params in session or somewhere else, but i wonder if thats the best way
What would be the best way (and easier) to implement this?
Ill appreciate any feedback
Thanks
Alexei Rodriguez
|
|
|
|
|
i think it would be best to store their filter values in the session and then send the user back to the page with the session values intact therefore allowing the user to do what it says on the button 'continue shopping'
hope this helps
|
|
|
|
|
I am trying to setup custom paging for a formview. I can get < << >> > to show up and no matter how I set any properties, despite being in "numeric" mode, the link buttons still show up the same way. This shouldn't be this difficult but is proving to be that way. What I am wanting to do is to basically modify the default setting for a FormView's paging display. I need to have Page #: in front of the page #'s like Page #: 1 2 3 4. Does anyone know how to do this?
|
|
|
|
|
Does anyone have any ideas?
|
|
|
|
|
I am in need of an asp.net programmer to help with a dedicated Microsoft server running mssql and Windows server.
I would like to know where the best place is to find a really cool, affordable and customer-oriented person???
|
|
|
|
|
borntodeal wrote: where the best place is to find a really cool,
All the cool developers are here Just not in this forum. I thought there was a jobs forum, though I don't see it at the moment.
only two letters away from being an asset
|
|
|
|
|
you found one
|
|
|
|
|
Hello- Please help me with the following questions, if possible,
please also provide some explanations--thanks in advance:
1) Assuming that "valid connection string" is a valid connection string, what will be the output of the following code? If the code cannot compile, please state why.
the same rules apply to this question as for the one above
using(SqlConnection sqlConn = new SqlConnection("valid Connection string"))
{
System.Diagnostics.Debug.WriteLine("Opening a connection");
sqlConn.Open();
System.Diagnostics.Debug.WriteLine("Connection Opened");
sqlConn.Close();
System.Diagnostics.Debug.WriteLine("Connection Closed");
}
if(sqlConn == null)
System.Diagnostics.Debug.WriteLine("Connection State is NULL");
else
System.Diagnostics.Debug.WriteLine("Connection State:" + sqlConn.ConnectionState);
2)The following code needs to generate a string of 1000 alternating '+' and '-' characters
Rewrite this code to make it more efficient (Note: You can use different data types than the ones present)
string htmlOutput = string.Empty;
for(int itemIndex = 0; itemIndex < 1000; itemIndex++)
{
if( itemIndex % 2 == 0)
htmlOutput += "+";
else
htmlOutput += "-";
}
3)Assuming that CustomException is defined, what will be the output of the following code?
try
{
throw new CustomException("Something went wrong");
}
catch(Exception ex)
{
System.Diagnostics.Debug.WriteLine("Generic Exception has been triggered");
}
catch(CustomException ex)
{
System.Diagnostics.Debug.WriteLine("Custom Exception has been triggered");
}
4) What will be the difference in behavior between the lines marked 'a' and 'b' during runtime? (Assume that CustomClass is a defined class)
object objClass = new object();
CustomClass myClass1 = objClass as CustomClass; //a
CustomClass myClass2 = (CustomClass)objClass; //b
5) Assuming you have the following class:
public class MyClass
{
public MyClass()
{
}
public string DoNothing(string someParameter)
{
System.Diagnostics.Debug.WriteLine(someParameter);
}
}
How would you call the DoNothing function asynchronously and provide a callback?
6) What is the difference between a Monitor and a Semaphore?
7) Architectural Question: If you have pages that perform heavy DB or File I/O, what could be done to help increase the overall performance of the application? (Asp.net only! Assume all non asp.net factors have been optimized to the max)
8) What is the difference between the following 2 statements?
try
{
throw new ApplicationException("None");
}
catch(Exception ex)
{
throw ex;
}
try
{
throw new ApplicationException("None");
}
catch(Exception ex)
{
throw;}
9) What is the difference between a List and a LinkedList?
10) Assume that you retrieve a list of 1,000,000 Person objects from a database that contain the SocialSecurityID, First and Last name properties. Which collection class would you use to store and allow for quick lookup of Person objects based on the SocialSecurityID field?
A.Asif
A.Asif
|
|
|
|
|
Job search questions or class assignment?
only two letters away from being an asset
|
|
|
|
|
If someone answers these, how will that help you ? You'll get a job you don't deserver and will lose, or you'll move up a level in a course that you're currently incapable of doing, and you'll only be more stuck with the next assignment.
Do your own homework, or look for a different career.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
What on earth posesses you to think that we should do your test for you?
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
The forum is intended for troubleshooting assistance and not to supplant regular homework. Read the forum guidelines here http://www.codeproject.com/kb/scrapbook/forumguidelines.aspx[^]
Posting questions of this level of stupidity just makes you look like a rude jackass.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Hi
How would i put a string value where the number 5 is?
if (dtlogtime.AddMinutes(5) < DateTime.Now)
tried searching couldn't find anything
thanks!!
|
|
|
|