|
Is there a way I can find which site is using Premier Account or not?
|
|
|
|
|
Respected,
Sir, My GridView do not display name in template field
my code as your reference is :
Text='<%# GetClassName(DataBinder.Eval(Container.DataItem,"CLASSID")) %>'
I am calling a function for name by passing ID and display in template field class but it can not work. please help me.
Thanks.
modified on Tuesday, January 26, 2010 5:31 AM
|
|
|
|
|
For this kind of issue i must suggest you use : RowDatabound event of the grid view and do the code
hope below thing work for you
public void sumRows ( Object src, GridViewRowEventArgs e ) {
if ( e.Row.RowType == DataControlRowType.DataRow ) {
TableCellCollection cells = e.Row.Cells;
int priceTotal = Convert.ToDecimal(DataBinder.Eval(e.Row.DataItem, _
"UnitPrice"))
//do code to assign value to columns of the grid
}
}
|
|
|
|
|
|
All my AJAX using Page Methods is working except one which just never gets back to client side(but executes and returns fine on server). The only difference between this method and the previous ones is that this one returns a bit more data(all are strings btw). Ive tried making it return an array of sections of the string but it also never comes back.
Please help, this is pretty urgent and its making me crazy :-/
Thank you
Strive to be humble enough to take advice, and confident enough to do something about it.
|
|
|
|
|
You might have forgot to add script manager with EnablePageMethods="true"?
|
|
|
|
|
No, as I said, all the other ones on the page work. I set a onfail method and it results in "object [object]" ?
Strive to be humble enough to take advice, and confident enough to do something about it.
|
|
|
|
|
How much more data are we talking here?, the PageMethod could be trying to send too much data to the JavaScript serializer, the default value is 102400 characters but you can change that in the web.config with the following:
<system.web.extensions>
<scripting>
<webServices>
<jsonSerialization maxJsonLength="500000" />
</webServices>
</scripting>
</system.web.extensions>
|
|
|
|
|
Thanks
Strive to be humble enough to take advice, and confident enough to do something about it.
|
|
|
|
|
Dear Folks,
I would be highly appreciate if any one from forum give me hand in troubleshooting with installation of Tustena CRM ver. 3.9 Open source Projects. I had successfully Up Data Base using SQL server management studio express 2005, with Windows Authentication Mode on my local machine, We are trying to switch authentication mode to SQL server authentication, to raise with Local user and Password. Indeed Tustena Installation Guide clearly says Update “Web.config” file with following credentials..
“ Open the “web.config” with any text editor and complete the connection string by entering your SQL Server name, user id and password (note: the connection string is the one under “Your string connection” line)
In the same file fill-in all the required AppSettings like email addresses, SMTP server and DNS.
I.E <add key="CONNECTION" value="Data Source=<machinename>\SQLEXPRESS;Initial Catalog=TustenaOS;Trusted_Connection=yes" /> “
Here the Pain starts. I have alter “web.config” as per windows authentication Mode as below..
<add key="Connection" value="Data Source=N77TeV-BA1A4DB3;Initial Catalog=TustenaOS;Integrated Security=SSPI;Connect Timeout=20;Connection Reset=false;Network Library=dbmssocn;" />
<add key="SQLEXPRESS_CONNECTION" value="Data Source=.\tustena;Initial Catalog=TustenaOS;Trusted_Connection=yes" />
And I end up with an Error :
Object reference not set to an instance of an object.
This could be a easy fix, but i really don't know how to fix this.
Appreciate any help.
Thanks!!
|
|
|
|
|
Hi all,
i am facing a problem with ajax calendar extender,when the calendar is open, its not getting closed when the user click on other controls, making the user to select the date mandatory.is there any bug in my code
my code is
<asp:TextBox runat="server" ID="txtDateFrom" Width="115px" MaxLength="40"></asp:TextBox>
<asp:ImageButton runat="server" ID="btDateFrom" ToolTip="Calendar Lookup" ImageAlign="Top"
ImageUrl="Themes/Images/calendar2.jpg" CausesValidation="true" />
<AJAX:CalendarExtender runat="server" ID="CalFrom" CssClass="MyCalendar" PopupButtonID="btDateFrom"
TargetControlID="txtDateFrom" Format="dd/MM/yyyy">
</AJAX:CalendarExtender>
and i kept this in a panel pnltext.in which that panel is a modal pop up panel,
<AJAX:ModalPopupExtender DropShadow="false" BackgroundCssClass="modalBackground"
TargetControlID="DetailFind" runat="server" Drag="true" CancelControlID="ImageButton1"
PopupControlID="pnltext" X="450" Y="50" ID="ModalPopupExtender1">
</AJAX:ModalPopupExtender>
DetailFind is a button, in which the above pop up is invoked
please help
|
|
|
|
|
Hi there,
I am using asp.net default role/membership provider for my new website using login control. I have data stored in a remote sql database -aspbnetdb. I am using the default functionalities to check login status, create new user update, delete user/role etc. Everything works fine when i am run in the VS 2008 development. But when i deploy my website into IIS 6, my membership doesnt work. When i give the login credentials, my IIS completly ignore what i have given in my webform and i ended upgetting an error saying
System.Data.SqlClient.SqlException: Login failed for user 'domain\machinename$'. But i didnt give this id anywhere. Do i need to have a account in this id at the database.
This could be a easy fix, but i really dont know how to fix this.
Appreciate any help.
Thanks!!
|
|
|
|
|
|
For some reason my Server Explorer is gone VS 2008 and when I select it from the menu it does not appear. How can I get it back?
|
|
|
|
|
im having drop down style menubar designed using css. problem is when page loads first time 2 or 3 menu item get shifted in 2nd row.when i refresh page, everything get settle down properly. i checked css & html code of both before error & after error. it is same. can anybody help me with this please??
|
|
|
|
|
Hi Peoples,
I am using ajax pop up extender,
Here my code is
<asp:Panel ID="ProgrPanel" runat="server">
<asp:Image runat="server" ID="Progress" ImageUrl="Themes/Images/cross.png" />
<asp:Button ID="Hide1" runat="server" Style="display: none" />
</asp:Panel>
<asp:Button ID="Button1" runat="Server" Style="display: none" />
<AJAX:ModalPopupExtender BackgroundCssClass="modalBackground"
TargetControlID="Button1" runat="server"
PopupControlID="ProgrPanel" X="525" Y="50" ID="ProgressBar">
</AJAX:ModalPopupExtender>
and on a button click i am trying to show and after some process i need to hide(like progress bar)
ProgressBar.Show();
--my popup comes perfectly
/*My logic goes here*/
ProgressBar.Hide(); (in this step throwing error)
i am getting this error,
The control 'Button1' already has a data item registered.
Parameter name: control
i googled and found that the target id should have any events attached, but here its just a button..
what may be the reason??
help me please..
|
|
|
|
|
|
i already gave
<AJAX:ModalPopupExtender BackgroundCssClass="modalBackground"
TargetControlID="Button1" runat="server"
PopupControlID="ProgrPanel" X="525" Y="50" ID="ProgressBar">
</AJAX:ModalPopupExtender>
here ProgressBar is the ID for that
|
|
|
|
|
|
Hi All peoples,
I am building an web site in which i need to stretch the background image of the page (body) to fit the full screen. is it possible by doing in css sheet,
there is method repeat-x and repeat-y, is there any method like stretch??
Thanks in advance..
|
|
|
|
|
|
At present I have placed a simple text into an excel file. i.e. hello.
What is the simple way to open that file on the client machine?
Thanks
|
|
|
|
|
Look into opening the file from Javascript.
|
|
|
|
|
where do I start in javascript please?
I know nothing about it. i.e. wher to place it in aspx
Thanks
|
|
|
|
|
Please elaborate. I'd like to know how you would use JavaScript for this task.
I know the language. I've read a book. - _Madmatt
|
|
|
|