|
What is mask field and how it can be used for date format.
|
|
|
|
|
|
The specified display mode is currently disabled on this page. Make sure personalization is enabled for the current user.
Parameter name: value
iam getting this error when iam using webparts
|
|
|
|
|
What you are trying to do with web parts ? Did you set the Display mode for it?
|
|
|
|
|
i want to implement webparts in my project where my project is an windowns authentication mode..i have declared personalisation provider for sql when iam running the project with code iam not getting the error but when run my project through iis iam getting this type of error
|
|
|
|
|
|
I have a site on production server which creates its menus from web.sitemap. earlier it was working fine but after the last update i am not able to enter into the site and this is the error i am getting
The XML sitemap config file web.sitemap could not be loaded. The operation has timed out
but same site when configured on another server is running fine.
how can i get the site running on the production server again.
|
|
|
|
|
Is there any thing change in that XML file?
|
|
|
|
|
Hi, everyone, I just started asp.net and wonders is there anyway to make a asp:textbox to be able to put images, bulletpoints, like blogger.
Thank you for guidance
|
|
|
|
|
Short answer, no. You can however create your own control based on textbox to add the features you want.
only two letters away from being an asset
|
|
|
|
|
|
Hi
i have a webPage to display some values which come from database. some fields in my database have money dataType, hence it displays in textBox like this :
61.00000
my question is that how to format this value ? for exmaple i want to display it like this :
61 or 61.00
any help would be great appreciated.
Thanks
|
|
|
|
|
Hi, hdv212, there are 2 ways of doing this
One way is done at the database side. Use the convert function to convert your values to 2 decimal places before it is being passed to your asp.net webpage
For example:
use Test2
select Convert(decimal(7,2),moneyPrice) from test1 where id=1
Another way is to use casting in asp.net :
assuming variable x is your 61.00000
double y = (int)x - x
if (y !=0)
{
int decValue = (int)y*10 ;
double backToDecimalPlaces = (double)decValue/10;
x +=backToDecimalPaces;
}
|
|
|
|
|
|
Hi,
I have bound a gridview to sqltable , the gridview shows all messages stored in table. I want to add a checkbox to gridview so that multiple msgs can be selected and then delete btn should delete all the selected ones. I want to add this functionality to existing gridview . Plz provide help in this regard
thanx
|
|
|
|
|
|
Thanx alot.
I liked the articles alot.
Thankyou again
|
|
|
|
|
Nice to know it helps you.
|
|
|
|
|
Now i am having a new problem. The gridview doesn't display select btn now and i want the gridview to show details when select btn is clicked. How do i add a select to the grid view so that when clicked the details for msg are loaded in same page or another.
Thanx in advance
|
|
|
|
|
<asp:GridView ID="GridView1" runat="server">
<Columns>
<asp:CommandField ShowSelectButton="True" />
</Columns>
</asp:GridView>
And use OnSelectedIndexed Change Event, Read the Gridview Row, Read the Row in GridViewRow Class and then Display the data where you want.
Hope this will help you. Let me know if any other issue.
Thank you!!
|
|
|
|
|
oh, thanx again, actually, i was using
<asp:buttonfield>
but i didn't notice that i mistakenly assigned it to the <itemtemplate> and hence e.commandargument was "" in grid_RowCommand event.
anyways, i realized this and was about to inform u. thanx for all ur help
|
|
|
|
|
From the questions you have been asking you are obviously quite new to ASP.NET and development in general. You would do well be grabbing a book or two on ASP.NET and reading them before continuing.
only two letters away from being an asset
|
|
|
|
|
Hi,
i have grabbed an asp.net book but i couldnt find any help on how to add custom checkbox to gridview such that the checkbox could be checked/unchecked to select some number of rows out of gridview.
Sorry for inconvenience and if you know a better book in which i can find help on such problems, please lemme know the book title and author and i will buy that too.
Thankyou
|
|
|
|
|
Dear one and all,
My grid view looks as follows
Course name Course Id Faculty Select User
-----------------------------------------------------------------------
ASP Asp101 XYZ Edit/Assign |
-----------------------------------------------------------------------
C# C#101 ABC Edit/Assign |
------------------------------------------------------------------------
and so on
What i need is when i click on assign i will redirect to another page there i will display all student names in a grid view as follows
Student name Student Email Registered Courses Options
-------------------------------------------------------------------------------- Abc abc@gmail.com reg Checkbox
------------------------------------------------------------------------------------
Abc abc@gmail.com reg Checkbox
------------------------------------------------------------------------------------
and so on ..
For this i need to write
|
|
|
|
|
Are you using a HyperLinkField column for the amend link?
|
|
|
|