|
I would use the custom asp.net validator controls, but that just me..
|
|
|
|
|
i have not checked this..But in case you have another validation javascript function as well have you checked which get fired or both ?
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
hey jagan...y ur asking such a silly questions...try urself..those are very easy...
don't put such question in this forum...
|
|
|
|
|
hey prasadam the give me the help if u know how to do .....
|
|
|
|
|
hey man i am not prasadam.. i am prasad..mind ur words..
|
|
|
|
|
hey bad boys...y ur disturbing all of us..don't u have work..????..jst get out of this forum..
i am going to give a complaint on jagan ..he may banned from this forum if he do like this again...
|
|
|
|
|
How to convert html div into the Image.
if any one has answer then please contact me.
Best Regards,
Chetan Patel
|
|
|
|
|
You cannot "convert" a div to a image if you want to show the image thre are two says
1) <div style="background-image: url(/test/Images/Your Photo.png);">
</div>
2) Put the image inside the div
<div>
<img src="~/test/Images/yourphoto.png" />
</div>
Thanks
Laddie
Kindly rate if the answer was helpful
|
|
|
|
|
i have a div and i put some control in it.
and i am trying to convert that div into the Image.
my div become a image.
Best Regards,
Chetan Patel
|
|
|
|
|
I'm unable to understand your question. How can one convert div to image?
Chetan Patel Sai Soft wrote: my div become a image
According to me, this is simply not possible.
|
|
|
|
|
i want to create image for the contents in Div Element.
i need to generate image from html
Best Regards,
Chetan Patel
|
|
|
|
|
|
I hope that this might work....
$(document).ready(function(){
var imageSrc= $('div').css('background-image');
alert(imageSrc);
$('img').attr('src',imageSrc);
});
|
|
|
|
|
Actually I need the same result fot collection of images in the same div.. But I cant.. Help me if anyone have idea
<div id="imageCollect">
<div id="div1"></div>
<div id="div2"></div>
<div id="div3"></div>
</div>
<img src="imageGeneratedFrom-imageCollect"/>
|
|
|
|
|
I have the same issue, I want to create an image from div contents, any help possible ??
|
|
|
|
|
|
Hi,
I'm trying to create an objectdatasource in code and then bind a gridview.
ObjectDataSource objDS = new ObjectDataSource();
objDS.DataObjectTypeName = "VeriWeb_Administration.BusinessObjects.Provider";
objDS.TypeName = "VeriWeb_Administration.BusinessObjects.Providers";
objDS.SelectMethod = "PopulateProviders()";
objDS.UpdateMethod = "Update(Provider item)";
objDS.ID = "ObjectDataSource1";
I get the following error on gridview.databind() :
The Select operation is not supported by ObjectDataSource 'ObjectDataSource1' unless the SelectMethod is specified.
Please help
|
|
|
|
|
try this out
objDS.SelectMethod = PopulateProviders;
Best Regards,
Chetan Patel
|
|
|
|
|
Hi, thanx for the reply but it has to be a string type.
|
|
|
|
|
Hi, thanx for the reply but it has to be a string and PopulateProviders return a list<>
|
|
|
|
|
Did you try it?
What it's looking for is the name of the function that should be executed.
Brad
|
|
|
|
|
I have tried:
objDS.SelectMethod = "PopulateProviders"; //The sytax is correct here.
as well as: objDS.SelectMethod = PopulateProviders(); in this instance I get the following error
Cannot implicitly convert type 'System.Collections.Generic.List <veriweb_administration.businessobjects.provider>' to 'string'
ObjectDataSource objDS = new ObjectDataSource();
objDS.DataObjectTypeName = "VeriWeb_Administration.BusinessObjects.Provider";
objDS.TypeName = "VeriWeb_Administration.BusinessObjects.Providers";
objDS.SelectMethod = "PopulateProviders()";
objDS.UpdateMethod = "Update";
objDS.ID = "ObjectDataSource1";
Is the rest of the above code correct? I have never created an objectdatasource is code before.
Thanx again
|
|
|
|
|
The solution was that I needed to set the gridview.DataSource = objDS. I previously set the gridview.DataSourceID = "ObjectDataSource1" which I thought is the same.
ObjectDataSource objDS = new ObjectDataSource();
objDS.DataObjectTypeName = "Provider";
objDS.TypeName = "Providers";
objDS.SelectMethod = "PopulateProviders";
objDS.UpdateMethod = "Update";
objDS.ID = "ObjectDataSource1";
The solution was that I needed to set the gridview.DataSource = objDS. I previously set the gridview.DataSourceID = "ObjectDataSource1" which I thought is the same. Everything is working nice.
Thanx
|
|
|
|
|
How to add a chekbox,TextBox and another webcontrol in repeter and datalist and how to generate its event.
please suggest me!
thank you
sam
Final year student of MCA
|
|
|
|
|
what do you mean repeater
do you mean a loop?
|
|
|
|